Visual Studio not displaying compile time errors in editor -


for example, when write:

string x = "turtle"; x.go(); 

there no red squiggly line detecting absence of go() method on string.

only when compile error detected.

i've upgraded windows 7, have visual studio 2008.

in old environment errors detected before actual compile.

is there setting missing?

edit: "tools -> options -> text editor -> c# -> underline errors in editor" checked.

i dont have "live semantic" option. maybe need go sp1?

you need turn on underline errors in editor , show live semantic errors options in visual studio.

these options can found here:

tools > options > text editor > c# > advanced > editor help

edit: need install sp1 this functionality work.


Comments

Popular posts from this blog

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c# - Making TableLayoutPanel Act Like An HTML Table (Cells That Resize Automatically Around Text) -