Top ASP.NET Items

Sponsors

Downloadable Hotfix: False C# compilation errors for ASP.NET code-behind files in SP1

In SP1 for Visual Studio 2008 and Visual Web Developer 2008, C# introduced a new feature to provide 'live' reporting of compilation errors. Unfortunately, the introduction of this functionality also introduced a bug where in certain cases, false C# compilation errors appear in the Error List for ASP.NET Website projects. Specifically the following is a list of issues you may have experienced due to this bug in SP1: If you have a breakpoint in a code-behind file. On project open, you get incorrect errors in the Error List for that code-behind file (e.g. – button1 is not declared). These errors do not go away until you open that code-behind file. Once you open the code-behind file, the errors go away. When you open a code-behind file, Read More...

Read the complete post at http://blogs.msdn.com/webdevtools/archive/2008/10/31/downloadable-hotfix-incorrect-c-compilation-errors-for-asp-net-code-behind-files-in-sp1.aspx