Workaround for Web Essentials to support TypeScript 0.8.1.0
If you have installed the latest version of TypeScript(0.8.1.0) , Web Essentials extension you have installed on the VS 2012 may not be working correctly. Here is a work around to get it working
- Open command prompt as an administrator and go the TypeScript installation directory. In my case it is C:\Program Files (x86)\Microsoft SDKs\TypeScript.
- If the older version of TypeScript (0.8.0.0 or below) is there in that directory, delete it
Create a symbolic of the older version, which points to the new version using the following command
mklink /D 0.8.0.0 0.8.1.0 - Now open VS 2012 and go to Tools -> Options -> Web Essentials -> TypeScript. Set “Compile all TypeScript files on build” to “False”