Assembly Version/Referenceing Problems

B

BluDog

Hi

I have a project that has a reference to DLL X, it also has a
reference to DLL Y, which itself has a reference to DLL X.

The problem is, when i build the project i get errors such as the
following:

Warning: The dependency 'This.That.Other, Version=1.0.1600.18296,
Culture=neutral' in project 'MyProjectr' cannot be copied to the run
directory because it would overwrite the reference 'This.That.Other,
Version=1.0.1620.15338, Culture=neutral'.

Ayone know how you avoid this?

Cheers

Blu
 
M

Mythran

BluDog said:
Hi

I have a project that has a reference to DLL X, it also has a
reference to DLL Y, which itself has a reference to DLL X.

The problem is, when i build the project i get errors such as the
following:

Warning: The dependency 'This.That.Other, Version=1.0.1600.18296,
Culture=neutral' in project 'MyProjectr' cannot be copied to the run
directory because it would overwrite the reference 'This.That.Other,
Version=1.0.1620.15338, Culture=neutral'.

Ayone know how you avoid this?

Cheers

Blu

That is causing a circular dependancy. Assembly X can't reference an assembly
that is referencing Assembly X.

Mythran
 
B

BluDog

That is causing a circular dependancy. Assembly X can't reference an assembly
that is referencing Assembly X.

So how do you reference assemblies that use other assemblies you also
need to use?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top