Visual Studio 2008 Error List showing spurious errors
Posted on 2009-02-09
My Visual Studio (developing asp.net applications) error list constantly shows hundreds of errors, even though there are actually none within the site. The errors are all of exactly the same type: 'The name xxx does not exist in the current context'. xxx refers to a server side control declaratively defined. It seems like VS is checking the code behind files but isn't checking the declarative files when doing its checks.
The app builds without issue.
It's not killer, but it is annoying and makes it difficult to find genuine errors. I've applied all service packs and updates. Anyone encountered this and know how to fix it?