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

Article translations Article translations
Article ID: 919083 - View products that this article applies to.
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

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.

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.

STATUS

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

REFERENCES

For more information about the <compilation> element in the ASP.NET settings schema, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-US/library/s10awwz0.aspx

Properties

Article ID: 919083 - Last Review: October 21, 2013 - Revision: 1.2
APPLIES TO
  • Microsoft ASP.NET 2.0
Keywords: 
kbnosurvey kbarchive kbtshoot kbprb KB919083

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com