VS2015: the list of errors is not cleared from the new assembly

There are several C ++ projects in the solution. Allows you to compile A, which will fail, and an error will be displayed in the Error List view. Now compile B (suppose A depends on B), which will succeed. But the errors that occur when compiling A do not disappear.

Has anyone encountered such a problem? How to enable the cleaning of the list of error lists for each assembly (how it works for many years). The Output window, however, is blank for each new assembly.

+7
c ++ visual-c ++ build visual-studio-2015
source share
2 answers

Do you have "Build Only" or "Build + Intellisense" selected in the combo box? Many of my mistakes like this do come from Intellisense (and are usually fictitious).

Image Combo in the error list

+13
source share

I currently have a similar issue with VS2015. I have a solution with C ++ and C # wpf projects. A clean check, a complete build, no errors in the output, but hundreds of errors appear in the error list. This reminds me of problems with earlier versions of VS than the only solution is to close all open files, but this time it doesn't help either. In my case, deleting the .suo file helped. See This For Reference VS freaks out .

(edit) I read that Xamarin can cause a problem, but deleting it, as well as removing all other add-ons that come with VS2015, did not fix the problem. After a clean check and a complete build, I got all the errors again.

+1
source share

All Articles