Created
September 27, 2013 11:37
-
-
Save Liteolika/6727302 to your computer and use it in GitHub Desktop.
How to get typescript compiled in VS2012 when it doesnt do it at save.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unload the project, edit the csproj file to add this. | |
<Target Name="BeforeBuild"> | |
<Exec Command=""$(PROGRAMFILES)\Microsoft SDKs\TypeScript\tsc.exe" @(TypeScriptCompile ->'"%(fullpath)"', ' ')" /> | |
</Target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment