TypeScript 1.4 Support

ryan's Avatar

ryan

22 Jan, 2015 10:10 PM

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

  1. 1 Posted by ryan on 22 Jan, 2015 10:11 PM

    ryan's Avatar

    Formatted error:

    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.
    
  2. Support Staff 2 Posted by Feodor Fitsner on 22 Jan, 2015 10:26 PM

    Feodor Fitsner's Avatar

    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. 3 Posted by ryan on 22 Jan, 2015 10:34 PM

    ryan's Avatar

    You can get the VS2013 support here: https://visualstudiogallery.msdn.microsoft.com/2d42d8dc-e085-45eb-a.... I used that to build in VS2013.

  4. Support Staff 4 Posted by Feodor Fitsner on 22 Jan, 2015 10:34 PM

    Feodor Fitsner's Avatar

    I see. OK, we could deploy it today.

  5. 5 Posted by ryan on 22 Jan, 2015 10:53 PM

    ryan's Avatar

    Excellent! Thank you! Will this require a config change in our appveyor.yml, or will this just be an addition to the existing image?

  6. Support Staff 6 Posted by Feodor Fitsner on 23 Jan, 2015 05:26 AM

    Feodor Fitsner's Avatar

    It's been deployed. Let me know how it worked.

  7. 7 Posted by ryan on 23 Jan, 2015 05:49 AM

    ryan's Avatar

    I'm testing it now. Thanks for the quick turn-around!

  8. 8 Posted by ryan on 23 Jan, 2015 04:54 PM

    ryan's Avatar

    Works like a charm! Thanks!

  9. Support Staff 9 Posted by Feodor Fitsner on 23 Jan, 2015 04:55 PM

    Feodor Fitsner's Avatar

    Great, thanks for update!

    -Feodor

  10. 10 Posted by johnny_reilly on 26 Jan, 2015 02:42 PM

    johnny_reilly's Avatar

    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)

  11. Support Staff 11 Posted by Feodor Fitsner on 26 Jan, 2015 02:51 PM

    Feodor Fitsner's Avatar

    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. 12 Posted by johnny_reilly on 27 Jan, 2015 11:06 AM

    johnny_reilly's Avatar

    Thanks Feodor - all good.

  13. ryan closed this discussion on 22 Sep, 2017 04:01 PM.

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

Recent Discussions

22 Mar, 2019 07:18 PM
22 Mar, 2019 02:20 PM
22 Mar, 2019 11:00 AM
22 Mar, 2019 02:51 AM
22 Mar, 2019 12:46 AM

 

21 Mar, 2019 08:34 PM
21 Mar, 2019 05:38 PM
21 Mar, 2019 06:16 AM
20 Mar, 2019 11:39 PM
20 Mar, 2019 09:03 PM
20 Mar, 2019 08:55 PM