This article has been archived. It is offered "as is" and will no longer be updated.
Consider the following scenario. In Microsoft Visual Studio 2005, you create a Microsoft ASP.NET 2.0 application that has batch compilation disabled. The ASP.NET 2.0 application contains at least one error in an .aspx file or in a code-behind file. You build the ASP.NET 2.0 application, and compilation errors appear in the Output window. In this scenario, when you build the ASP.NET 2.0 application again, compilation errors do not appear in the Output window. Additionally, compilation errors do not appear in the Output window for subsequent builds.
To work around this problem, you can rebuild the Web site. To do this, follow these steps:
Start Visual Studio 2005.
On the File menu, point to Open, and then click Project/Solution.
Locate the project that you want to open, and then click Open.
On the Build menu, click Rebuild Web Site.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about the <compilation> element in the ASP.NET settings schema, visit the following Microsoft Developer Network (MSDN) Web site: