How to disable typescript compiler in visual studio

Sami C.
1 min readSep 11, 2019

--

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!

--

--

Sami C.
Sami C.

Written by Sami C.

Freelance Software Engineer

No responses yet