[RESOLVED] Visual Studio 2008 SP1 Ghost errors
Since installing SP1 yesterday I'm having lots of problems with VS misreporting errors. Usually in the form of "The name txtCompany does not exist in the current context" when it clearly does. Double clicking the error takes me to the offending code at which put VS correctly decides it's not an error and takes it off the list.
When I build the solution everything is ok it's just a little off putting.
Any one else experienced this? I've not found anything by searching.
Re: Visual Studio 2008 SP1 Ghost errors
Slow computer? From what you describe your computer cannot keep up with the processing demands of VS. I had the same problem with 2005 VWD Express. I would add a new web control to an aspx page but always had to wait a second or two before it was usable/accessible in the code behind class. Adding more RAM solved my problem.
What are your system specs? Do they meet the recommended requirements?
Re: Visual Studio 2008 SP1 Ghost errors
It's an Intel Core Duo 2.6Ghz with 2gb of RAM.
I've not encountered this problem before i installed Service Pack 1 but I'm also not finding anyone else experiencing this on the internet so I accept it's probably something with my PC.
Re: Visual Studio 2008 SP1 Ghost errors
It's getting worse.
This code is in a class in a console app
Code:
Contact editor = new Contact();
editor.Name = publication["Editor"].ToString();
and I'm getting informed that "the name editor does not exist in the current context", again everything is fine if I build the solution but as soon as I start typing again the errors re-appear.
Re: Visual Studio 2008 SP1 Ghost errors
Do you have something like Resharper installed?
Re: Visual Studio 2008 SP1 Ghost errors
Nope, I did however have to start playing around with Silverlight and so installed the silverlight toolkit and VS2008 Service pack 1.
Re: Visual Studio 2008 SP1 Ghost errors
You can turn the real-time error checking feature off. I've gotten accustomed to it since I auto hide the Errors window.
Anyway, to turn it off, go to Tools -> Options -> Text Editor -> C# -> Advanced
and there are two options Underline errors in the editor and Show live semantic errors
Disable those and that should help.
Re: Visual Studio 2008 SP1 Ghost errors
Quote:
Originally Posted by wey97
You can turn the real-time error checking feature off. I've gotten accustomed to it since I auto hide the Errors window.
Anyway, to turn it off, go to Tools -> Options -> Text Editor -> C# -> Advanced
and there are two options Underline errors in the editor and Show live semantic errors
Disable those and that should help.
I couldn't see the wood for the trees. Thanks for that.
That's actually perfect.
Re: [RESOLVED] Visual Studio 2008 SP1 Ghost errors
Nice one, I learned something too.