Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / June 2005

Tip: Looking for answers? Try searching our database.

Dependencies vs. References

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rob Haynes - 16 Jun 2005 16:56 GMT
In VC++ .Net 2003, how check or un-check boxes in the "Project Dependencies"
dialog?  Nothing happens when I click the check boxes.0

If Project A needs Project B and B is a Reference of A, A gets recompiled
even if I change only a .cpp file in B.

When I originally converted from VC++ 6.0, B was only a "dependent" of A -
not a reference.  If I changed only a .cpp file in B, then only that .cpp
file would be recompiled before the link.  In my current <large> project I'm
changing one of the underpinnings which is currently referenced.  This
causes a huge recompile every time I change a .cpp file.
Sebastian Dau - 20 Jun 2005 10:37 GMT
It is never a good idea to let two components depend on each other.
Better extract common types to a third lib and reference it from component A
and B.

Good look, Sebastian.

> In VC++ .Net 2003, how check or un-check boxes in the "Project
> Dependencies" dialog?  Nothing happens when I click the check boxes.0
[quoted text clipped - 7 lines]
> I'm changing one of the underpinnings which is currently referenced.  This
> causes a huge recompile every time I change a .cpp file.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.