Visual Studio 2015 Debug and Release not working
<p>Building in Debug gives me a Release build; I can't get back to Debug. Consequently I had this problem which I solved by unclicking "Optimize code" in project properties: <a href="https://stackoverflow.com/questions/31732944/breakpoint-failed-to-bind-visual-studio-2015">Breakpoint Failed to Bind - Visual Studio 2015</a></p>

<p>But the root cause seems to be that I'm stuck in Release. I confirmed it with this:</p>

<pre><code>#if DEBUG
    stuff
#else
    other stuff
#endif
</code></pre>

<p>And also in Project Properties in the Build tab it always says Active (Release). How do I fix this?</p>