I have multiple systems for performing C# solution build via a msbuild script. Within this solution is a project (csproj) that contains references to .ts files to be compiled using visual studio 2013 built in support for tsc.
On our original build system when the project builds from the msbuild project script it references C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0 while on a new system it's wired to C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.1, and we need 1.0 to work properly. How/where do I change this to point at the proper version?
You can open the csproj in a texteditor and add the following to it, to use the 1.0 TypeScript compiler.
<PropertyGroup>
<TypeScriptToolsVersion>1.0</TypeScriptToolsVersion>
</PropertyGroup>
Just but it below another property group and you should be good to go. Offcourse TypeScript 1.0 should be installed to make this work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With