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

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -