Reputation: 20400
The Visual Studio Error List shows like 50 errors about controls and variables not existing. I double click an error, it takes me to it, and after about 1 second they all go away!
There aren't any real errors, as my site compiles without errors or even warnings.
I know I've seen this before, but I forget how to fix it. Anyone know why this is happening? Thanks in advance!
Upvotes: 5
Views: 1198
Reputation: 4807
I see it often too on web sites. I always have chalked it up to the compiler needing to "catch up" although I'm sure there is a more sophisticated answer to why that happens. It's annoying.
Upvotes: 3
Reputation: 56448
I've seen this before but I'm not sure what the actual cause is. I've seen it most using a website ASP.NET project rather than a web application ASP.NET project, but I don't know for certain that that's the cause.
That said, in my opinion you should use a web application style project anyway as it will pre-compile the most important portions of your application before deployment.
Upvotes: 0