Re: How to not build all projects when pressing <F5>

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: muchan (muchan_at_promikra.si)
Date: 03/18/04


Date: Thu, 18 Mar 2004 17:32:32 +0100

Luis Capriles wrote:
> I have a solution with 35 large projects in it. Basically, it has a bunch of static and dynamic libraries and one executable. If I change one .Cpp file in the executable, and then attempt to run by hitting the <F5> key, within a second or two, a window pops up letting me know that only the application needs to be built. When I click on OK, it starts going through each of my other 34 projects, spending roughly one second on each one of them, letting me know that they are up-to-date. I have to wait about 30+ seconds for it to go through every project in the solution, before it even begins to compile the .Cpp file I changed.
>
> How do I disable this behavior? Since it is able to accurately tell up-front what needs to be built, in a matter of a second or two, I would like it to totally ignore the projects that don’t need building.
>
> Luis.
>

I don't understand. F5 is start debugging,
(menu Debug/Start on VC7 or menu Build/Start debug/Go on VC6).

If you want to build the project, you'd chose Build/Buld <Projectname>
(or right clicking project in the Solution Explorer & Build on VC7,
or Build/Build <targetname> F7 on VC6).

That is, build the project, then start debugging, then the debugged exe is
up to date, so you won't be prompted with this window, I think.

muchan