Stop visual studio from trying to "Add support for typescript" on each file adding

Viewed 647

I have a solution with multiple web projects. And there is common tsconfig which is used to build all typescript in solution. Build is called via webpack, so I don't want any typescript support from visual studio. More precisely, I want some support — in navigating and refactoring, but I don't want VS to build this code.

So I removed all references to typescript targets from csproj and everything works fine. But any time I add a new typescript file, VS gladly says

Your project has been configured to support TypeScript

and returns all typescript targets back to csproj.

Can I prevent VS from doing it? Of course I can live with it, but removing garbage from csproj after each adding seems uncomfortable.

UPD: found post on uservoice of VS https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/13420095-ask-to-configure-projects-for-typescript. But maybe there is solution already available. Or you can like this uservoice if you agree that it is an annoying problem :)

2 Answers
Related