For Programmers: Free Programming Magazines  


Home > Archive > Visual Studio > December 2004 > Rebuild Solution and Project dependencies









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Rebuild Solution and Project dependencies
Steve

2004-12-30, 8:57 pm

Am I doing something wrong or does "Rebuild Solution" not work with
project dependencies?

I'm working in VS 2003 and I have 2 unmanaged C++ projects in my
solution. Project B depends on project A. Build order is A, then B.

If I run "Clean Solution", then "Build Solution" all is fine.

But if I run "Rebuild Solution" A is cleaned, then A is built, then B
is cleaned, then B fails to build because the A build got wiped out
when B was cleaned. It appears that when B is cleaned (as a part of
rebuild solution) A is also cleaned because of the dependancy.

This seems like a real basic problem, yet I haven't been able to find
anything on it.

Any ideas on what I'm doing wrong?

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com