TypeScript 1.3 support

  1. 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. 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. 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. Done it - we're all good! Thanks.

    On 21 Nov 2014 18:26, Feodor Fitsner <[email blocked]> wrote:

    // Please reply above this line
    ==================================================

    From: Feodor Fitsner (Support staff)

    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...

    On Fri, Nov 21 at 10:16 AM, johnny_reilly wrote:

    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

    Having trouble reading this? View this discussion online: TypeScript 1.3 support.

    To unsubscribe and stop receiving emails from http://help.appveyor.com, visit this page

  5. johnny_reilly closed this discussion on 31 Dec, 2014 11:23 AM.

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