Installing Typescript for Visual Studio 2010

I was frustrated that the TypeScript plugin was only available for VS2012. I love TypeScript’s syntax and typesafety. I tried using SharpDevelop to make a TypeScript app but its error reporting is terrible. Also, sharp develop doesnt have a solution system where i can work on multiple projects at the same time. My aim is to create a game engine for the web using TypeScript and i think TypeScript is ideal for the job.

Enough blabbering, lets get our hands dirty. Get 7zip if your dont have it already. You can use winrar if you want. Download the TypeScript installer here.

Open the installer as an archive and extract the TypeScriptLS.vsix_File and rename it to TypeScriptLS.vsix .

open archive

vsix_File

vsix

double click on it to install it

installer

success

If you open visual studio, you’ll see the Typescript Project type. Creating it should give an error about a missing file called Microsoft.typescript.targets. No need to worry, open the installer as an archive with 7-zip again and extract it.

targets

Go in C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\ and create a folder called TypeScript. Put Microsoft.typescript.targets in there.

new file

Create your TypeScript project now and it will work.

new project

and run it 🙂

finish

enjoy 🙂

Advertisements

5 responses to “Installing Typescript for Visual Studio 2010

  1. Pingback: Using TypeScript in VS2010 | Dev Paradise·

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s