VS2015 – Change TypeScript Version

Here’s the solution to upgrading TypeScript in Visual Studios 2015:

Download the TypeScript EXE release from the following website:
http://www.microsoft.com/en-us/download/details.aspx?id=48593
enter image description here

Click the details to view other releases: In this case I want to download 1.6.0 Beta
enter image description here

Download the exe and install onto computer.

Create a new TypeScript Cordova project in VS2015. VS2015 may ask if you want to upgrade the project to the latest version. Follow the directions as necessary.
enter image description here

Updating Existing Projects

If you have an existing project that needs to use a specific version to TypeScript, download the TypeScript version using the above steps, and modify the .jsproj file’s XML element <TypeScriptToolsVersion>1.6</TypeScriptToolsVersion>. Set the number to the folder name located in C:\Program Files (x86)\Microsoft SDKs\TypeScript folder. The folder name represents the installed TypeScript version.

enter image description here

Leave a Comment