Results 1 to 9 of 9

Thread: [RESOLVED] Visual Studio 2008 SP1 Ghost errors

  1. #1

    Thread Starter
    Frenzied Member Fishcake's Avatar
    Join Date
    Feb 2001
    Location
    Derby, UK
    Posts
    1,092

    Resolved [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.

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    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?

  3. #3

    Thread Starter
    Frenzied Member Fishcake's Avatar
    Join Date
    Feb 2001
    Location
    Derby, UK
    Posts
    1,092

    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.

  4. #4

    Thread Starter
    Frenzied Member Fishcake's Avatar
    Join Date
    Feb 2001
    Location
    Derby, UK
    Posts
    1,092

    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.

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Visual Studio 2008 SP1 Ghost errors

    Do you have something like Resharper installed?

  6. #6

    Thread Starter
    Frenzied Member Fishcake's Avatar
    Join Date
    Feb 2001
    Location
    Derby, UK
    Posts
    1,092

    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.

  7. #7
    Frenzied Member
    Join Date
    Aug 2000
    Location
    Birmingham, AL
    Posts
    1,276

    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.

  8. #8

    Thread Starter
    Frenzied Member Fishcake's Avatar
    Join Date
    Feb 2001
    Location
    Derby, UK
    Posts
    1,092

    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.

  9. #9
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [RESOLVED] Visual Studio 2008 SP1 Ghost errors

    Nice one, I learned something too.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width