Note that there are some explanatory texts on larger screens.

plurals
  1. POVisual Studio 2010 F5 Debugging C++ is not Rebuilding
    text
    copied!<p>I have a Visual Studio 2010 Ultimate C++ project (<em>not</em> managed or .NET). When I press F5 (i.e., start debugging), I <em>want</em> it to save all the files, rebuild those that changed, link the whole thing, and then run. Instead, it appears to use the last build. Thus, when I try to step into a function or something, I get the following error:<br/><br/><img src="https://i.stack.imgur.com/bOj9P.png" alt="Visual Studio Changing Error"></p> <p>Based on my research, I have verified these options, the first three of which are in the Options dialog (can be reached under "Debug->Options and Settings"):</p> <ul> <li>"Projects and Solutions->Build and Run->Only build startup projects and dependencies on Run" is checked. Some research indicated that it should be unchecked, but in my case I actually <em>do</em> only want it to rebuild the startup project. For what it's worth, I've tried unchecking it, with no effect.</li> <li>"Projects and Solutions->Build and Run->On Run, when projects are out of date:" is set to "Always build".</li> <li>"Debugging->Edit and Continue->Enable Edit and Continue" is checked, though it's greyed out.</li> <li>In the Configuration Manager ("Build->Configuration Manager"), all solution configurations and platforms have their "Build" checkbox checked.</li> </ul> <p>I have also tried deleting all Debug and Release directories as well as the .sdf and ipch directory.</p> <p>For completeness, I suppose I should mention that I'm using precompiled headers, though I kinda doubt it matters.</p> <p>Thanks,<br/> Ian</p> <p>[EDIT: I should note that it only seems to be one file (a .h file) that's doing it. I tried renaming it and recompiling, and also removing it from the solution and adding it back in, but it didn't work. ]</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload