Why doesn't F5 rebuild project before execution in Visual Studio?
build, visual-studio, visual-studio-2010
Solution
Is it possible that you've reconfigured your "Build and Run" settings to "Never build"?
To check, follow these steps:
- From the Visual Studio IDE, open the "Tools" menu, and click "Options".
- Expand the "Projects and Solutions" header on the left.
- Click the "Build and Run" item.
- In the combo box labeled "On Run, when projects are out of date", ensure that you have the "Always build" option selected.
Problem
If I press F5, my project runs but it doesn't "see" any of the changes that I made. I need to manually (re)build before pressing F5 for it to work. It worked well previously. Any idea what I need to change?