How to disable typescript compiler in visual studio

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!

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store