How to make Visual Studio 2022 show ALL errors in the project?
I was making a web application and did some changes (like deleting files) that probably affected other files in the project. So I want to know what errors did those changes cause in the project. The problem is that Visual Studio 2022 shows only errors of OPEN files in the Error List.
For example, when ApplicationDbContext.cs is CLOSED:

When ApplicationDbContext.cs is OPEN:

Errors in ApplicationDbContext.cs show up in the Error List ONLY if that file is OPEN.
Is there a way to make Visual Studio 2022 show ALL errors like this (image created for demonstration)?

Read more here: Source link
