TypeScript 1.5beta

kevin's Avatar

kevin

24 Jun, 2015 09:52 AM

Hi,

Is there any way to currently build a project targeting TypeScript 1.5beta? It's been the only download available from the TypeScript site for a while now so seems to be the recommended version to use when developing.

Thanks,

K

  1. Support Staff 1 Posted by Feodor Fitsner on 24 Jun, 2015 05:26 PM

    Feodor Fitsner's Avatar

    Do you need it to use from Visual Studio? If not, it can be installed with npm during the build.

  2. 2 Posted by kevin on 24 Jun, 2015 06:53 PM

    kevin's Avatar

    Currently we let the csproj file handle the TypeScript compilation so
    ideally I'd keep it that way.

    If we need to switch to npm and Grunt then I know that's possible; I just
    wanted to see if there was an easier way before I start introducing more
    dependencies into the project.

  3. Support Staff 3 Posted by Feodor Fitsner on 24 Jun, 2015 07:00 PM

    Feodor Fitsner's Avatar

    OK, seems like "TS for VS" should be installed then. Do you use it with VS 2015?

  4. 4 Posted by kevin on 24 Jun, 2015 07:22 PM

    kevin's Avatar

    We're using it with 2013 at the moment but will but upgrading to 2015 in a
    few months.

    Is there a way we can install it as part of the build or is that something
    that'd need to be done on your end?

  5. Support Staff 5 Posted by Feodor Fitsner on 24 Jun, 2015 07:35 PM

    Feodor Fitsner's Avatar

    Looks like it could be silently installed during the build with the following script:

    $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
    

    Took only 1 minute of build time to install on Pro environment.

  6. 6 Posted by kevin on 24 Jun, 2015 08:37 PM

    kevin's Avatar

    Ah, awesome. I'd no idea that level of access was available to the build
    machine (very new to AppVeyor).

    I'll see if I can get the build working in the morning and let you know how
    it went. Thanks!

  7. 7 Posted by kevin on 25 Jun, 2015 07:35 PM

    kevin's Avatar

    Worked perfectly - thanks!

  8. 8 Posted by chris on 25 Jun, 2015 10:00 PM

    chris's Avatar

    helped me as well on the default image. thanks!

  9. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:57 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