Why doesn't F5 rebuild project before execution in Visual Studio?

Maciej picture Maciej · Feb 7, 2011 · Viewed 20.1k times · Source

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?

Answer

franssu picture franssu · Mar 23, 2011

Also :

  • Right Click on the solution in the solution explorer.

  • Click on "Properties".

  • Navigate to configuration Properties -> Configuration on the left side of the window.

  • Make sur the "Build" checkbox is checked on the line of your project.