tag:help.appveyor.com,2012-11-13:/discussions/problems/1093-typescript-13-supportAppVeyor: Discussion 2018-10-19T08:16:52Ztag:help.appveyor.com,2012-11-13:Comment/353387062014-11-20T10:14:27Z2014-11-20T10:14:27ZTypeScript 1.3 support<div><p>Hi guys,</p>
<p>I'm getting build failures after I upgraded a project to
TypeScript 1.3 (tools version 1.1):</p>
<p><a href=
"https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.13/messages">
https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.1...</a></p>
<p>Are you planning to add TypeScript 1.3 support any time soon? My
guess is builds against that will fail until it is added?</p></div>johnny_reillytag:help.appveyor.com,2012-11-13:Comment/353387062014-11-20T18:08:19Z2014-11-20T18:08:19ZTypeScript 1.3 support<div><p>Hi Johnny,</p>
<p>As suggested <a href=
"http://blogs.msdn.com/b/typescript/archive/2014/11/12/announcing-typescript-1-3.aspx">
here</a> you can <a href=
"http://help.appveyor.com/discussions/suggestions/459-image-with-microsoft-build-tools-2015-preview-installed#comment_35313501">
use VS 2015 image</a> which TS 1.3 is part of or <a href=
"https://www.npmjs.org/package/typescript">install it with NPM</a>
during the build.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/353387062014-11-21T10:16:43Z2014-11-21T10:16:43ZTypeScript 1.3 support<div><p>Hey Feodor,</p>
<p>Thanks for responding.</p>
<p>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:
<a href=
"https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14">
https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14</a></p>
<p>This was the error message:</p>
<p><a href=
"https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14#L101">
https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14#L101</a>
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 element in your project file.
[C:\projects\proverb-gulp\Proverb.Web\Proverb.Web.csproj]</p>
<p><a href=
"https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14#L102">
https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14#L102</a>
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]</p>
<p><a href=
"https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14#L103">
https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14#L103</a>
103Command exited with code 1</p>
<p>Am I using the wrong approach to pull in an NPM package?</p>
<p>John</p></div>johnny_reillytag:help.appveyor.com,2012-11-13:Comment/353387062014-11-21T18:26:33Z2014-11-21T18:26:33ZTypeScript 1.3 support<div><p>OK, I see. Then you might just need running your build on Visual
Studio 2015 image: <a href=
"http://help.appveyor.com/discussions/suggestions/459-image-with-microsoft-build-tools-2015-preview-installed#comment_35313501">
http://help.appveyor.com/discussions/suggestions/459-image-with-mic...</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/353387062014-11-21T19:43:12Z2014-11-21T19:43:12ZTypeScript 1.3 support<p>Done it - we're all good! Thanks.</p>
<div class="gmail_quote">On 21 Nov 2014 18:26, Feodor Fitsner
<tender2+da3fe5f2a40abd3ef5f91daaeb36271c068010956@tenderapp.com>
wrote:<br type="attribution">
<blockquote class="quote">
<div>
<table width="100%">
<tr>
<td>
<p>// Please reply above this line<br>
==================================================</p>
<p><b>From</b>: Feodor Fitsner (Support staff)</p>
<div>
<p>OK, I see. Then you might just need running your build on Visual
Studio 2015 image: <a href=
"http://help.appveyor.com/discussions/suggestions/459-image-with-microsoft-build-tools-2015-preview-installed#comment_35313501">
http://help.appveyor.com/discussions/suggestions/459-image-with-mic...</a></p>
</div>
<div>
<p>On Fri, Nov 21 at 10:16 AM, johnny_reilly wrote:</p>
<blockquote>
<div>
<p>Hey Feodor,</p>
<p> </p>
<p>Thanks for responding.</p>
<p> </p>
<p>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:
<a href=
"https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14">
https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14</a></p>
<p> </p>
<p>This was the error message:</p>
<p> <<a href=
"https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14#L101">https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14#L101</a>><br>
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]</p>
<p> <<a href=
"https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14#L102">https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14#L102</a>>
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]</p>
<p> <<a href=
"https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14#L103">https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14#L103</a>>
103Command exited with code 1</p>
<p> </p>
<p>Am I using the wrong approach to pull in an NPM package?</p>
<p> </p>
<p>John</p>
</div>
</blockquote>
</div>
</td>
</tr>
<tr>
<td>
<p>Having trouble reading this? View this discussion online:
<a href=
"http://help.appveyor.com/discussions/problems/1093-typescript-13-support">
TypeScript 1.3 support</a>.</p>
<p>To unsubscribe and stop receiving emails from <a href=
"http://help.appveyor.com">http://help.appveyor.com</a>, visit
<a href=
"http://help.appveyor.com/unsubscribe/f0b2f7a92b3c7e3c76d20a65319f0dce5a05c132">
this page</a></p>
</td>
</tr>
</table>
<img width="1" height="1" src=
"http://ea.pstmrk.it/open/MTA1OF8zNDRfXzhiN2RkOTMxLWRiMGUtNDQ3NC1iZTAyLTRjZDgxYWE0ZDY4Yl9qb2hubnlfX3JlaWxseUBob3RtYWlsLmNvbQ=="></div>
</blockquote>
</div>johnny_reilly