Use specific TypeScript compiler version in Visual Studio -


i wonder if there's way set specific typescript compiler version project in visual studio. configure project use version 1.0, if new versions released.

i know it not possible before , wonder if things changes after typescript matured 1.0 version.

i noticed visual studio creates <typescripttoolsversion>0.9</typescripttoolsversion> property in project file, couldn't find documentation it.

if try compile project <typescripttoolsversion>0.9</typescripttoolsversion> using typescript version 1.0 you'll following error:

your project file uses different version of typescript compiler , tools installed on machine. no compiler found @ c:\program files (x86)\microsoft sdks\typescript\0.9\tsc.exe. may able fix problem changing element in project file.

so it's preventing compiling newer version. not put compiler 0.9 compatibility mode.

but if have typescript 0.9 installed, compile against version. yes, can force specific version of typescript compiler using attribute.

basically <typescripttoolsversion> changes path compiler:

c:\program files (x86)\microsoft sdks\typescript\<typescripttoolsversion>\tsc.exe 

Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -