Make Visual Studio to show all compilation errors!

Visual Studio does not display all compilation errors at once. for example, once he says that I have two errors, and when I fix them, another 102 compilation errors appear, and these new errors do not depend on these two previous errors. How can we say that it goes through all the code and immediately displays all the compilation errors.

+8
source share
4 answers

It is impossible to answer this without knowing which compiler you are using. But in general, you cannot expect that a complete list of errors will be useful; one incorrect declaration can generate many other errors in the code, which are actually not erroneous. You can really trust only the first few errors.

Discard it, one error at a time, starting at the top of the list. And make sure that your changes, in turn, do not generate a whole bunch of new errors. Which is what happens by the sound of it.

-2
source

For Visual Studio 2015, there is a parameter for C # and Basic, Tools-> Options-> Text Editor-> Lang-> Advanced: Enable full analysis of solutions.

https://msdn.microsoft.com/en-us/library/mt709421.aspx?f=255&MSPPError=-2147217396

+4

, , , , , , gazillion (Visual ++). , , , , . , #include ..

+1

, , , , , . . , , . 100 .

, , . , , .

-3

Source: https://habr.com/ru/post/1749075/


All Articles