Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to get typescript compiled in VS2012 when it doesnt do it at save.
Unload the project, edit the csproj file to add this.
<Target Name="BeforeBuild">
<Exec Command="&quot;$(PROGRAMFILES)\Microsoft SDKs\TypeScript\tsc.exe&quot; @(TypeScriptCompile ->'&quot;%(fullpath)&quot;', ' ')" />
</Target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.