SYSK 101: How to Release Build an ASP.NET application


You may have noticed that there is no release build option for web apps.  That’s because all compilation settings are now stored in the <compilation> element of your configuration file under <system.web>.  Set debug attribute to false for release build.  For more information, check out the <compilation> help topic at ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/dv_ASPNETgenref/html/7c319582-074a-4d2a-a787-03b9d4541c12.htm


 

Comments (2)

  1. Chris says:

    When compiling a web app in VS.NET 2005 and debug="false" in Web.config, the output window still says "Configuration: Debug.NET" … I’ve always found this a bit misleading …

  2. As you know, compiling your web application with &amp;lt;compilation debug=”true”/&amp;gt; in web.config creates…