0
votes

I'm getting weird errors including errors inside comments (see screenshot).

Visual Studio 2010

Targeting .NET 4

Addons:

  • PInvoke.net
  • PowerCommands for Visual Studio 2010
  • Productivity Power Tools
  • SQL Server Compact Toolbox
  • Visual Assist X

Errors in comments. aka getting my opinion wrong

2
Well, the editor thinks you have an error in the string you assign to cb.DataSource as well... It should still build fine though. - Some programmer dude
@Yuck I mouse over them and no error pops up. It doesn't build and that's the problem. - AppFzx
And to whoever thumbs downed this question, at least have the intelligence to leave a reason or it doesn't help the community improve their questions. - AppFzx
@JoachimPileborg I'll post the errors it's giving at build after meetings and lunch. The errors like assigning "masterkey" string are what's befuddling me. #ProductivityMeetings - AppFzx
Apparently, connection and Pre1p14p2Adp and MakeAdapter(connection) aren't correct either. Maybe those are the reason why your project is not building? - Nolonar

2 Answers

1
votes

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.

1
votes

It seems to me, there are two types of errors:

  1. Syntax errors (e.g. connection underlined - probably because the declaration is commented out).

  2. 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.