I've been using using F5 (Start Debugging) for years to build the code (if its out of date), and then debug. This was working on VS 2010 also, however today it just start debugging without a build. Say I do a clean on the project, and then hit F5 instead of building it so it can run it throws an error message saying that the exe doesn't exist to run. How do I make it build first? What could have changed?
views:
293answers:
2
+3
A:
Tools + Options, Projects and Solutions, Build and Run. "On Run, when projects are out of date" = Always build. The one below that = Do not launch.
Hans Passant
2010-04-15 15:53:04
Just checked and its set to Always Build... So it shouldn't be doing this.
jamone
2010-04-15 15:57:38
Works on my machine. Used to work on yours. Reboot is next.
Hans Passant
2010-04-15 16:01:31
Reboot didn't fix it but changing the "On Run, when projects are out of date" = Always build to Do not launch saving/quitting VS then changing it back fixed it.
jamone
2010-04-15 16:51:07
That's a bug. Want to submit it to connect.microsoft.com?
Hans Passant
2010-04-15 17:18:00
@Hans: of course, how do you reproduce this? Convincing the people at microsoft connect that it truly is a problem is near impossible unless it's reproducible. Which only makes sense, as if you can't then chances are one of the dev's can't
Chris Lively
2010-04-29 22:17:42
A:
Had the same thing happen, (and have had it previously) last time i ended up starting with a new project, and adding existing code to it to replicate the original project/solution, which worked. this is much easier :)
Cerian
2010-08-10 14:46:40