views:

85

answers:

3

I noticed that VS2008 doesn't tell me when I'm typing a control name that doesn't exist. why is that?

A: 

You didn't say which language you're using, but I expect the setting to be the same as it is for C#. Go to Tools -> Options. Then scroll the list on the left to "Text Editor". Select the language, and look in "Advanced". There's are options under "Editor Help" -- make sure "Underline errors in the editor" and "Show live semantic errors" are checked.

Dave
the language i'm using is C#
jello
A: 

Have you switched it off accidentally?

In the options dialog select the Text Editor node, then C# (or whatever language you are using) and go to the Advanced node. Ensure that 'Show live semantic errors' is ticked:

alt text

More info: http://ira.me.uk/2008/09/01/switch-offon-visual-studio-2008-background-compilation/

Martin
strange... i don't have "show live semantic errors". maybe it's cause i don't have SP1? I know I have .NET framework 3.5 SP1, since it's displayed in my VS about box. but I'm not sure about my VS
jello
+1  A: 

yes, the problem was that I didn't have SP1 installed

jello