Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

References Not Updating 1

Status
Not open for further replies.

jalbao

Programmer
Nov 27, 2000
413
US
I have a solution that contains two projects - proj1 and proj2.

proj1 references proj2.

Both projects build into the same directory - so in MyDir1 I have proj1.dll and proj2.dll. Furthermore, both projects' reference paths point to MyDir1.

Here's my problem/confusion/frustration:
If I make an update to proj2 and rebuild it, proj1 does not, for lack of a better word, "inherit", the updates. It's as though, although proj1 is referencing the correct path to the proj2.dll, it is actually referencing the "old" proj2.dll.

My work around has been to remove the reference to proj2.dll (from proj1), then rebuild proj2, then finally re-add the proj2 reference to proj1.

I'm thinking that there may be some type of setting somewhere that I'm missing or....?

Am I alone on this one?

btw: I have set my Project Dependencies and Project Build Order - this didn't/doesn't solve my problem.

Thanks for any feedback.
 
if you click on a reference you will see tht it has properties one of those properties is copy local set it to false and that should solve the problem.

Christiaan Baes
Belgium

What a wonderfull world - Louis armstrong
 
Thanks Christian -

That definitely gets me started in the right direction.

I did as you suggested, and it works 2/3 times.... hmmm strange.

Anyway, 2/3 times is better than 0/3 times!

Thanks again for your tip.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top