Dipendu Paul
Dipendu Paul

Reputation: 2753

Disable Typescript compilation for a website in Visual Studio

I have an Angular website(not a CS project) added to a solution as shown below:

Angular website in visual studio

I get a bunch of TS compilation errors generated by Visual Studio 2019, while working on other projects in the same solution, as shown below :

enter image description here

I could find a solution for disabling TS compilation by Visual Studio when the Angular project files are added to a project here https://stackoverflow.com/a/42430405/1517467 But could not find a solution if it is a website.

Upvotes: 4

Views: 540

Answers (1)

Omer David
Omer David

Reputation: 31

Just in case some one steel needs it, you can make the node_moduls folder hidden in the file system ,than vs will stop compile the folder

Upvotes: 1

Related Questions