Deployed ASP.NET site has DEBUG true
<p>I have a deployed ASP.NET site. The <code>compilation</code> setting for <code>debug</code> is set to <code>false</code>. I have some code that checks the <code>DEBUG</code> define and it is reporting <code>true</code>.</p>

<p>Why? What do I need to do for this to be <code>false</code>?</p>

<p>This used to work but ever since I upgraded my website from .NET 2.0 to .NET 3.5, I see this problem. Note that the server was always .NET 3.5.</p>

<p><strong>Update</strong><br>
As already stated above, in my web.config file <code>debug</code> is <code>false</code> (I understand the the DEBUG preprocessor symbol and the web.config setting are not related). In addition, the Configuration Manager of VS2010 only provides Debug as a configuration for the website and any attempt to add Release is overwritten by VS2010.</p>

<p>I just realised one other detail; I am using SP1 beta of VS2010. Perhaps this is causing the problem?</p>
