473,398 Members | 2,525 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

How solve "Error: The dependency 'xxx.xx.dll, version=1.0.2067.27633, culture=neutral...

I keep getting this error message when I build my solution:

Error: The dependency 'xxx.xx.xx, Version=1.0.2067.27633, Culture=neutral'
in project 'xxx.xx.xx' cannot be copied to the run directory because it
would conflict with dependency 'xxx.xx.xx, Version=1.0.2068.11260,
Culture=neutral'.

I have a solution that contains 10 class library projects, some of these
projects require references to other projects within the solution.
xxx.xx.xx is the name of my DLL (class library).

I'm having a hard time even understanding why I'm getting these errors that
sometimes will go away if "build the solution" enough times (like 5 or 6
times).

I've tried disabling "Copy Local" -- this causes havoc in my ASP.NET
solution that uses some of these class libraries. I've tried clearing and
setting my solution/project dependencies but this has not helped. I've also
gone thru the class library bin directories and even deleted the "copied"
referenced DLLs the project requires and that works the first time but
anytime after that if I modified a project within the solution and Build,
the above errors come back.

This is VERY frustrating to deal with (I really do have better things to do)
and I've wasted many many hours/days trying to resolve this problem. I'm at
the point now where I'm thinking of writing a Macro to deleted all my Copy
Local DLL's, then do a new Build on my solution -- there must be a better
way??

Using VS 2003 (VB.NET).

Rob.

Aug 30 '05 #1
1 2576
Hi Rob

This sounds very familiar, and I wonder if you have referenced your library
projects as file references. That is, when you referenced the dll from one
project in another, did you add it as a file reference or a project
reference? If you did the former, you will frequently see the symptom you
are experiencing, as there is a bug in the VS IDE/compiler in this area.
Always reference other projects by they project file and not the dll; it is
the Project tab when you select Add Reference.

One other thing to be wary of is circular references. The IDE will not allow
project A to reference project B if project B already references project A,
but if you add a third project then you can have project A reference B, B
reference C, and C reference A. Apart from being symptomatic of a flawed
design, this can also cause havoc at compile time.

HTH

Charles
"Rob R. Ainscough" <ro*****@pacbell.net> wrote in message
news:OL**************@TK2MSFTNGP09.phx.gbl...
I keep getting this error message when I build my solution:

Error: The dependency 'xxx.xx.xx, Version=1.0.2067.27633, Culture=neutral'
in project 'xxx.xx.xx' cannot be copied to the run directory because it
would conflict with dependency 'xxx.xx.xx, Version=1.0.2068.11260,
Culture=neutral'.

I have a solution that contains 10 class library projects, some of these
projects require references to other projects within the solution.
xxx.xx.xx is the name of my DLL (class library).

I'm having a hard time even understanding why I'm getting these errors
that sometimes will go away if "build the solution" enough times (like 5
or 6 times).

I've tried disabling "Copy Local" -- this causes havoc in my ASP.NET
solution that uses some of these class libraries. I've tried clearing and
setting my solution/project dependencies but this has not helped. I've
also gone thru the class library bin directories and even deleted the
"copied" referenced DLLs the project requires and that works the first
time but anytime after that if I modified a project within the solution
and Build, the above errors come back.

This is VERY frustrating to deal with (I really do have better things to
do) and I've wasted many many hours/days trying to resolve this problem.
I'm at the point now where I'm thinking of writing a Macro to deleted all
my Copy Local DLL's, then do a new Build on my solution -- there must be a
better way??

Using VS 2003 (VB.NET).

Rob.

Aug 30 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Scott McNair | last post by:
Hi all, Forgive me in advance for any noobish questions I may ask... although I'm well-versed in classic ASP/VB, I'm still learning some of the deeper nuances of .NET, particularly some of the...
4
by: Don Wash | last post by:
Hi All! I'm getting the following Error: No DLLs has been compiled yet and nothing in the \bin directory. So it is not the versioning problem or anything like that. And here are the...
1
by: Rob R. Ainscough | last post by:
I keep getting this error message when I build my solution: Error: The dependency 'xxx.xx.xx, Version=1.0.2067.27633, Culture=neutral' in project 'xxx.xx.xx' cannot be copied to the run directory...
5
by: hzgt9b | last post by:
I'm building a dataset that writes out a Point type value. Here's the code that I've got: 1 Dim dsContent As DataSet = New DataSet("content") 2 Dim dtAsset As DataTable = New...
5
by: wolfgang wagner | last post by:
hi all! i'm trying to define a custom config section like described in the online help of VS2005: <configuration> <configSections> <section name="sampleSection"...
23
by: deathtospam | last post by:
A day or two ago, I wrote a quick ASPX page with a CS codebehind using Visual Studio .NET 2005 -- it worked, I saved it and closed the project. Today, I came back to the project, reopened the...
4
by: freeflytim | last post by:
I'm trying to implement a custom MembershipProvider (and RoleProvider) together with a custom MembershipUser class in C#, Asp.Net 2.0, MS Visual Studio 2005. Everything has worked fine so far,...
1
by: Curious | last post by:
Hi, I've got the error as described below: System.TypeLoadException: Could not load type 'CORE.COREUtils' from assembly 'CORE, Version=6.4.2655.23177, Culture=neutral, PublicKeyToken=null'....
1
by: =?Utf-8?B?TWFuanJlZSBHYXJn?= | last post by:
Hi I am creating a web service PreprocessingService with IIS Hosting and transport layer security with user name and password. I created a self-signed certificate IISHost in IIS which is issued...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.