title: asp.mvc view enteres #IF DEBUG in release configuration
body: <p>I have an ASP MVC view where have the following statement</p>
  
  <pre><code>#if DEBUG
    //section 1
    //do stuff
  #else
    //section 2
    //do other stuff
  #endif
  </code></pre>
  
  <p>When in visual studio I choose the release configuration from the dropdown to do the build, the code still steps through section 1.</p>
  
  <p>In the solution configuration properties all subprojects of the solution are set to the release configuration.</p>
  
  <p>What am I not getting here?</p>