Solved

How do I stop a reference to an assembly being changed when adding another reference that also uses the already referenced assembly

Posted on 2004-09-06
3
185 Views
Last Modified: 2010-04-23
Environment: VB in VS2003 using Framework 1.1

To illustrate my problem: I have assemblies (dll) A, B and C.  Assembly A has a reference to C.  B also has a reference to C.  For debugging both A and B have their reference to D set to ‘copy local  = True’.

In my application I add a reference to assembly D.  When I add a reference to B or C I get a message that the reference to D has been changed.  The location of D is then changed to the bin of either B or C.  

The result of this is that the application is not working with the newest version of C but with the newest version of C in the bin folder of either A or B.  

I have removed the reference path in the application properties but this does not help as when you add the reference the path is also added automatically.

This is driving me nuts.  Is there any way of stopping VS from automatically adding the reference path to the project properties?  Is there another way of solving this problem?

Thanks
0
Comment
Question by:CyLex
3 Comments
 
LVL 10

Accepted Solution

by:
123654789987 earned 500 total points
ID: 11988834
First add a reference of assembly D. Then try adding a reference of Assembly B and c
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now