Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
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
Medium Priority
?
193 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 10

Accepted Solution

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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

721 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