asp.netconfigurationbuild

Why can't you build a website in release mode?


In ASP.NET, if I set up a web application, I can configure it to be in release mode, but with a website I can only set the configuration to be in debug mode. Why is this?


Solution

  • In web site projects each page is compiled dynamically upon first request. It will compile without debugging symbols unless you specify otherwise in the config file.