Reputation: 1465
I'm getting weird errors including errors inside comments (see screenshot).
Visual Studio 2010
Targeting .NET 4
Addons:
Upvotes: 0
Views: 558
Reputation: 130102
It seems to me, there are two types of errors:
Syntax errors (e.g. connection
underlined - probably because the declaration is commented out).
Grammar errors (e.g. "Dropbox" in comments).
Nowadays, most IDEs check your documentation comments for typos, using a dictionary (thesaurus). If a word is not in the dictionary, it is underlined. Of course, the grammar checking often can't recognize a path and it just considers every path component a word.
Upvotes: 1
Reputation: 50855
Check which add-ons you're using. Sometimes they attempt to verify paths (even in comments). Although I haven't seen this prevent a build before I'm sure it's possible that is the cause.
Upvotes: 1