visual studio 2012 - TypeScript - compile errors in vs.net? -


in vs.net in mvc4 project, possible make project build stop incase typescript files contains errors?

currently can see errors active file i'm editing, don't break build say. i'd have true build errors incase typescript file doesn't compile correctly.

if run compiler using before build target, you'll errors part of build:

  <target name="beforebuild">     <exec command="&quot;$(programfiles)\microsoft sdks\typescript\tsc&quot; @(typescriptcompile ->'&quot;%(fullpath)&quot;', ' ')" />   </target> 

you need point @ "top level" file (such app.ts) , walk of dependencies, can set build action typescriptcompile on file alone (properties window).


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -