Prevent MSBUILD from building typescript

  • Thread starter Thread starter kevcoder
  • Start date Start date
K

kevcoder

Guest
using VS2017 v 15.8.9 and Angualr 2.*

With the exception of a single *.cs file, my project is purely angular 2... I only use VS to build that one *.cs file and then I jump into VSCode for actual editing.

The version of typescript in the angular/node site is 2.1.

Whenever another DEV checks in changes to the project, we get build errors as his/her Visual Studio automatically adds <TypeScriptToolsVersion>2.7</TypeScriptToolsVersion> into the *.csproj file.


On the Build server this breaks as the build server has a later version of typescript than my angular project uses.


How do I prevent MSBUILD from trying to compile typescript?


Thank Kevin

Continue reading...
 
Back
Top