title: #If DEBUG is ignored (VB.net or C#)
body: <p>I have several of these in my code which have been working fine so far:</p>
  
  <pre><code>#If DEBUG Then    
     ... some code here       
  #End If     
  </code></pre>
  
  <p>Now, i am noticing that, lately, the code inside the " #If DEBUG Then ... #End If"
  gets execute also in "Release Mode".</p>
  
  <p>This is strange and did not happen before. What could have happened so that
  the  #If DEBUG  are now being ignored (they are ignored both in debug in the IDE or the final executable) ?</p>
  
  <p>I have applied Clean, Rebuild, etc.: no luck. Thank you for any hints and help.</p>
  
  <p>-Pam</p>