If you would like to disable building TypeScript files in your solution for some reason (you want different build workflow, you just work on .cs files and don’t touch .ts files), you had to search for some kind of ifs or comments out to the project file in previous version of Visual Studio.
The problem as such is not new and solution was requested for some time from TypeScript team.
After digging in some articles I found this not much hyped solution : add node
to the first
element in .csproj file.
For me, it worked.
More on the problem here :
One small note : if you have an error in the .ts files and compilation is disabled, build will not fail in Visual Studio 2015. But you can still see all errors in Error list tab. And you will still have IntelliSense.
Hope this helps.