Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Compilation errors do not appear in the Output window when you build an ASP.NET 2.0 application that has batch compilation disabled in Visual Studio 2005


View products that this article applies to.

Symptoms

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.

↑ Back to the top


Workaround

To work around this problem, you can rebuild the Web site. To do this, follow these steps:
1.Start Visual Studio 2005.
2.On the File menu, point to Open, and then click Project/Solution.
3.Locate the project that you want to open, and then click Open.
4.On the Build menu, click Rebuild Web Site.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


References

For more information about the <compilation> element in the ASP.NET settings schema, visit the following Microsoft Developer Network (MSDN) Web site:

↑ Back to the top


Keywords: KB919083, kbprb, kbtshoot

↑ Back to the top

Article Info
Article ID : 919083
Revision : 3
Created on : 5/26/2006
Published on : 5/26/2006
Exists online : False
Views : 310