I downloaded and installed TypeScript extension for VS 2012, I got my first sample compiles by manually dragging the ts file onto the tsc.exe file! because
Please check if you have invalid TypeScript. There are some TypeScript errors that don't show up in the Error List, but they prevent TypeScript Compile-On-Save and show a Output generation failed
message in the Visual Studio status bar.
These are the TypeScript errors that can cause this:
export
ing a class which is not inside of a module (v 0.9.5).Please let me know if there are more such errors, I'll add them here.