title: Visual Studio 2017 doesn't compile small changes to code when building for release
body: <p>This happens sometimes when I make small changes to the source code, like removing a line of code or changing some value.</p>
  
  <p><strong>case A</strong></p>
  
  <ol>
  <li>change <code>player.y = 100;</code> to <code>player.y = 250;</code></li>
  <li>compile code with <kbd>CTRL</kbd>+<kbd>F5</kbd></li>
  <li>player still appear at <code>y: 100</code></li>
  <li>change <code>player.symbol = "O";</code> to <code>player.symbol = "P";</code></li>
  <li>compile code with <kbd>CTRL</kbd>+<kbd>F5</kbd></li>
  <li>player now appear at the correct location <code>y: 250</code></li>
  </ol>
  
  <p><strong>So far I've tried</strong></p>
  
  <ul>
  <li>Clean Solution - this works, but I'd rather not have to rely on this whenever I make a change</li>
  <li><code>Build</code> is checked for the project under <code>Build &gt; Configuration Manager...</code></li>
  <li><kbd>CTRL</kbd>-<kbd>SHIFT</kbd>-<kbd>B</kbd> still compiles the wrong code.</li>
  <li>running VS as administrator - still compiles the wrong code.</li>
  <li>I've looked at the executable's creation date. It doesn't update when I compile.</li>
  <li>deleting the executable before compiling re-creates the same executable without the changes.</li>
  <li>I had the same issue on another visual studio installation on the same computer</li>
  </ul>
  
  <p>The project is located on a local hard drive.</p>
  
  <p><strong>edit:</strong> 
  I found this <a href="https://developercommunity.visualstudio.com/content/problem/163417/c-floating-point-constants-not-being-detected-as-c.html" rel="nofollow noreferrer">link</a>. The problem seem to be very similar, although when testing right now it extends to more than just editing float numbers. I'm using Visual Studio Community Version 15.7.1, but had this problem prior to patching as well.</p>
  
  <p>This doesn't seem to occur (so far) while building for debug.</p>