In website projects, pages are grouped dynamically from the first request. It will compile without debugging characters unless you specify otherwise in the configuration file.
You cannot change it using the configuration manager and do not see it in your settings.
In your web config file, find these options
<system.web> ... <compilation debug="true"> ... </compilation> </system.web>
Set true to false, after which it will be published in release mode. Hope this helps.
source share