TypeScriptGenerator is Custom Tool for Visual Studio 2010 for automated compiling TypeScript to JavaScript.
-
Install TypeScript compiler via TypeScript for Visual Studio 2012 (Node.js package doesn't work for some reason).
-
Download and compile TypeScriptGenerator.
-
Run
TypeScriptGenerator.reg
. -
Create TypeScript file with
.ts
extension in your web project. Visual Studio automatically associates it with TypeScriptGenerator custom tool and creates compiled JavaScript file.
tsc
can't compile files in UTF-8 with BOM encoding.