Today I had an annoying issue where some of my typescript files where compiled when I rebuild my .NET Core project. I didn’t really like this behavior. To fix this, simply go into your web project.csproj and add the following:
<PropertyGroup> <TypeScriptCompileBlocked>true</TypeScriptCompileBlocked></PropertyGroup>
That’s all! Typescript will no longer run when building your .NET Core project!
Enjoy!