Visual Studio not displaying compile time errors in editor

后端 未结 8 1277
南旧
南旧 2020-12-28 12:32

For example, when I write:

string x = \"turtle\";
x.Go();

There is no red squiggly line detecting the absence of the Go() method on String.

8条回答
  •  情书的邮戳
    2020-12-28 13:01

    I had the same issue and had SP1 installed and had Underline errors in the editor and Show live semantic errors checked in VS2008's options.

    My solution was to download Microsoft Visual Studio 2008 Service Pack 1 (Installer) and re-install the package. It wasn't classified as a 'repair' or a 're-install' despite the fact it was already installed, but it worked.

提交回复
热议问题