Hi guys,
I'm getting build failures after I upgraded a project to TypeScript 1.3 (tools version 1.1):
https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.1...
Are you planning to add TypeScript 1.3 support any time soon? My guess is builds against that will fail until it is added?

#1 Posted by Feodor Fitsner Support staff on 20 Nov, 2014 06:08 PM
Hi Johnny,
As suggested here you can use VS 2015 image which TS 1.3 is part of or install it with NPM during the build.
#2 Posted by johnny_reilly on 21 Nov, 2014 10:16 AM
Hey Feodor,
Thanks for responding.
I tried adding an npm install typescript to my pre-build script but it didn’t work as I expected. The failed build is here: https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14
This was the error message:
<https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14#L101>
101C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\TypeScript\Microsoft.TypeScript.targets(95,5): error : Your project file uses a different version of the TypeScript compiler and tools than is currently installed on this machine. No compiler was found at C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.1\tsc.exe. You may be able to fix this problem by changing the <TypeScriptToolsVersion> element in your project file. [C:\projects\proverb-gulp\Proverb.Web\Proverb.Web.csproj]
<https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14#L102> 102C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\TypeScript\Microsoft.TypeScript.targets(95,5): error MSB6004: The specified task executable location "C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.1\tsc.exe" is invalid. [C:\projects\proverb-gulp\Proverb.Web\Proverb.Web.csproj]
<https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14#L103> 103Command exited with code 1
Am I using the wrong approach to pull in an NPM package?
John
#3 Posted by Feodor Fitsner Support staff on 21 Nov, 2014 06:26 PM
OK, I see. Then you might just need running your build on Visual Studio 2015 image: http://help.appveyor.com/discussions/suggestions/459-image-with-mic...
#4 Posted by johnny_reilly on 21 Nov, 2014 07:43 PM
Done it - we're all good! Thanks.
johnny_reilly closed this discussion on 31 Dec, 2014 11:23 AM.