PC Review


Reply
Thread Tools Rate Thread

Assembly Version/Referenceing Problems

 
 
BluDog
Guest
Posts: n/a
 
      11th Aug 2004
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
 
Reply With Quote
 
 
 
 
Mythran
Guest
Posts: n/a
 
      11th Aug 2004

"BluDog" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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


 
Reply With Quote
 
BluDog
Guest
Posts: n/a
 
      12th Aug 2004
>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?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The application requires that assembly office Version 12.0.0.0 be installed in the Global Assembly Cache (GAC) first. Bill Nguyen Microsoft VB .NET 2 30th May 2008 11:17 PM
What is the difference between runtime version and the version propery in a .net assembly nenzax Microsoft Dot NET Framework 1 18th Feb 2007 08:24 PM
Assembly Version problems =?Utf-8?B?UGhpbGlw?= Microsoft Dot NET Framework Forms 2 13th Feb 2007 10:22 AM
Problems in loading a Non-GAC version of Assembly Amruta Microsoft Dot NET Framework 4 22nd Aug 2006 02:49 AM
Problems referenceing Class Library (.dll) raican Microsoft C# .NET 2 16th Aug 2005 01:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:15 PM.