VS 2022 ASP.Net Angular – File Not Found Errors


I created a new ASP.Net Core Angular project in Visual Studio 2022 using the VS new template. Once I built the application the first time which in its turn runs npm install I see errors under the Error List VS window (please see the image below).
This is happening in one of my existing projects too.
I just wanted to confirm that this issue is not related to my current project and created the new project using the new angular template and the problem exists in here too.

I tried to add “exclude”: [“node_modules”] under tsconfig.json but that did not have any effect.

Does anyone else having this problem or knows why it is happening and how to fix it?

enter image description here

Source: Angular Questions

Categorized as angular, asp.net-core-6.0, visual-studio-2022 Tagged , ,


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us