tag:help.appveyor.com,2012-11-13:/discussions/questions/1397-typescript-15betaAppVeyor: Discussion 2018-10-19T08:17:16Ztag:help.appveyor.com,2012-11-13:Comment/372053012015-06-24T17:26:24Z2015-06-24T17:26:24ZTypeScript 1.5beta<div><p>Do you need it to use from Visual Studio? If not, it can be
installed with npm during the build.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/372053012015-06-24T18:53:01Z2015-06-24T18:53:01ZTypeScript 1.5beta<div><p>Currently we let the csproj file handle the TypeScript
compilation so<br>
ideally I'd keep it that way.</p>
<p>If we need to switch to npm and Grunt then I know that's
possible; I just<br>
wanted to see if there was an easier way before I start introducing
more<br>
dependencies into the project.</p></div>kevintag:help.appveyor.com,2012-11-13:Comment/372053012015-06-24T19:00:48Z2015-06-24T19:00:48ZTypeScript 1.5beta<div><p>OK, seems like "TS for VS" should be installed then. Do you use
it with VS 2015?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/372053012015-06-24T19:22:53Z2015-06-24T19:22:53ZTypeScript 1.5beta<div><p>We're using it with 2013 at the moment but will but upgrading to
2015 in a<br>
few months.</p>
<p>Is there a way we can install it as part of the build or is that
something<br>
that'd need to be done on your end?</p></div>kevintag:help.appveyor.com,2012-11-13:Comment/372053012015-06-24T19:35:57Z2015-06-24T19:35:57ZTypeScript 1.5beta<div><p>Looks like it could be silently installed during the build with
the following script:</p>
<pre>
<code>$exePath = "$($env:USERPROFILE)\TypeScript_15beta_Dev12.exe"
(New-Object Net.WebClient).DownloadFile('https://visualstudiogallery.msdn.microsoft.com/107f89a0-a542-4264-b0a9-eb91037cf7af/file/160654/1/TypeScript_15beta_Dev12.exe', $exePath)
cmd /c start /wait $exePath /quiet</code>
</pre>
<p>Took only 1 minute of build time to install on Pro
environment.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/372053012015-06-24T20:37:09Z2015-06-24T20:37:09ZTypeScript 1.5beta<div><p>Ah, awesome. I'd no idea that level of access was available to
the build<br>
machine (very new to AppVeyor).</p>
<p>I'll see if I can get the build working in the morning and let
you know how<br>
it went. Thanks!</p></div>kevintag:help.appveyor.com,2012-11-13:Comment/372053012015-06-25T19:35:20Z2015-06-25T19:35:20ZTypeScript 1.5beta<div><p>Worked perfectly - thanks!</p></div>kevintag:help.appveyor.com,2012-11-13:Comment/372053012015-06-25T22:00:01Z2015-06-25T22:00:01ZTypeScript 1.5beta<div><p>helped me as well on the default image. thanks!</p></div>chris