TypeScript 1.4 Support
I just had a build fail with the following message:
```
2) : C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\TypeScript\Microsoft.TypeScript.targets(95,5): 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.4\tsc.exe. You may be able to fix this problem by changing the <TypeScriptToolsVersion> element in your project file.
3) MSB6004: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\TypeScript\Microsoft.TypeScript.targets(95,5): The specified task executable location "C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.4\tsc.exe" is invalid.
```
What's the recommended approach for resolving this issue?
Cheers,
Ryan
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by ryan on 22 Jan, 2015 10:11 PM
Formatted error:
Support Staff 2 Posted by Feodor Fitsner on 22 Jan, 2015 10:26 PM
There is only TS 1.3 on build workers.
So, you are using TS 1.4 together with VS 2013? How did you install it?
3 Posted by ryan on 22 Jan, 2015 10:34 PM
You can get the VS2013 support here: https://visualstudiogallery.msdn.microsoft.com/2d42d8dc-e085-45eb-a.... I used that to build in VS2013.
Support Staff 4 Posted by Feodor Fitsner on 22 Jan, 2015 10:34 PM
I see. OK, we could deploy it today.
5 Posted by ryan on 22 Jan, 2015 10:53 PM
Excellent! Thank you! Will this require a config change in our appveyor.yml, or will this just be an addition to the existing image?
Support Staff 6 Posted by Feodor Fitsner on 23 Jan, 2015 05:26 AM
It's been deployed. Let me know how it worked.
7 Posted by ryan on 23 Jan, 2015 05:49 AM
I'm testing it now. Thanks for the quick turn-around!
8 Posted by ryan on 23 Jan, 2015 04:54 PM
Works like a charm! Thanks!
Support Staff 9 Posted by Feodor Fitsner on 23 Jan, 2015 04:55 PM
Great, thanks for update!
-Feodor
10 Posted by johnny_reilly on 26 Jan, 2015 02:42 PM
Hi guys,
I'm experiencing build errors with TypeScript 1.4 projects on Visual Studio 2015 Preview. The build falls over when it encounters union types (which shipped with TS 1.4)
Did TypeScript 1.4 get deployed to this build worker? (I can switch to a different os if that helps - I can't actually remember why I'm using Visual Studio 2015 Preview)
Support Staff 11 Posted by Feodor Fitsner on 26 Jan, 2015 02:51 PM
That is TS 1.4 that comes together with VS 2015. Try building on newer "Visual Studio 2015 CTP" image or switch to default - there is TS 1.4 for VS 2013 installed.
-Feodor
12 Posted by johnny_reilly on 27 Jan, 2015 11:06 AM
Thanks Feodor - all good.
ryan closed this discussion on 22 Sep, 2017 04:01 PM.