I'm trying to integrate an existing Angular 2 application into an existing ASP.NET Core project in Visual Studio. Both projects work independently, but when I try to compile the ASP.NET Core project in Visual Studio I get a bunch of typescript compilation errors related to files in the node_modules folder.
How do I:
- Keep typescript from compiling at all
- Keep the compiler from looking at anything in
node_modules
I can get this to work by moving the node_modules folder out into the project root, but this would require completely rearranging the the original project dependencies and build files and I would prefer to avoid that.

"compileOnSave": trueintsconfig.jsonso whenever you save typescript it will compile. 2. you can move yourtsconfig.jsonto low level folder where all your typescripts files are available. This way compiler will not look intonode_modulesfolder at project root level.