I have a Visual Studio 2015 ASP.Net Core project that contains a folder of typescript files.
My question is how can I prevent VS from trying to compile the TypeScript files? I don't want them compiled, either on save or build.
I have tried added the project setting below, but it doesn't seem to have any impact.
<PropertyGroup>
<TypeScriptCompileOnSaveEnabled>False</TypeScriptCompileOnSaveEnabled>
</PropertyGroup>
Currently VS is throwing an error, tsc.exe exited with code 1
, but as stated, I don't want the TS compiler to run at all.
I can disable the typescript.targets that VS uses, but that's not practical, because I need it for other projects.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…