Install TypeScript with Visual Studio 2012

 

This is a short, how to install TypeScript with Visual Studio 2012. In this example I’ve used the Professional edition.

1. Install the TypeScript plugin for Visual Studio 2012. Download the .msi file from TypeScriptlang.org or go direct to Microsofts page.

2. TypeScript code are compiled to plain JavaScript with the TSC.exe compiler. We wan’t do have this process done automatic. A nice plugin for Visual Studio 2012 is the Web Essentials 2012 who makes the compilation every time a TypeScript file is saved.

3. In Visual Studio, go to Tools -> Extensions and Updates. Select Web Essentials 2012 and download. You probably have to restart Visual Studio.

Visual Studio 2012 Extensions and Updates dialog
Extensions and updates dialog in Visual Studio 2012

4. Start to explore and develop with TypeScript.

Leave a Reply

Your email address will not be published. Required fields are marked *