I\'ve got an existing Visual Studio project that was setup as a \"Web Site\" project. You can create projects like this by going to File->New Web Site. This is a different
This one has been a bit of a moving target - but only because the TypeScript team have been improving how it all works. I have tried to cover as many scenarios as possible below, from the newest to the oldest.
The very latest on this is that this should now work in the latest versions of Visual Studio (currently v1.4) even for web projects.
I have taken these abbreviated notes from my much longer answer about adding TypeScript to an existing project.
If you are using the Visual Studio Extension for 0.9.5 or better along with Visual Studio 2013 you should find that it will automatically configure everything as soon as you add the first TypeScript file.
The automatic config only adds a few lines - you could do that manually:
The following project file configuration should work:
ES5
false
true
AMD
ES5
true
false
AMD
I have found the most reliable way to add TypeScript to an existing project is to add the following to the project file:
You can add optional flags here too - such as --module amd: