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