Monday, September 29, 2014

Poor man's compiler error list

Every now and again I will have an error in my WPF application (no, really, it does happen!) and the compiler gets its panties in a bind. I'll get a shit load of errors from reference.vb and the generated files and hit the max error limit without any real errors actually being displayed. There is no way to override the error limit so how is a developer supposed to fix the error if the compiler won't show it?

Well there is a way.

Look at the Output window and scroll until you see an error message something like this.




You can even double click on it to jump to the line of code that contains the error. The line is highlighted with a blue dash to the left and the text cursor is placed at the point the compiler thinks contains the error.



No comments:

Post a Comment