473,763 Members | 7,719 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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

Error: The dependency 'xxx.xx.xx, Version=1.0.206 7.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.206 8.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 2635
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*****@pacbel l.net> wrote in message
news:OL******** ******@TK2MSFTN GP09.phx.gbl...
I keep getting this error message when I build my solution:

Error: The dependency 'xxx.xx.xx, Version=1.0.206 7.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.206 8.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
2506
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 ADO.NET 2.0 items. I'm trying to embed a datasource and a formview on the page, and I've done so as outlined in a "15 Minutes" article. I can use the datasource and formview just fine on the web end (I can select records, update them, delete...
4
2719
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 source of the files...
1
299
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 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....
5
4368
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 DataTable("asset") 3 Dim dcPk(0) As DataColumn 4 dcPk(0) = _ 5 dtAsset.Columns.Add("fullName", Type.GetType("System.String")) 6 dtAsset.Columns.Add("videoLocation", Type.GetType("System.Drawing.Point"))
5
2291
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" type="System.Configuration.SingleTagSectionHandler" /> </configSections>
23
5136
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 solution, and was greeted with the following error: ======================================================================== It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error...
4
4743
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, all compiles, then I try to run the Website administration tool (WAT). I can bring up the main web page of the tool, but as soon as I click on 'Security', I get this error: Type is not resolved for member 'TC.Providers.TCMembershipUser,TC,...
1
544
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'. at CORE.Reports.ImagingStepEngine.RenderReportSection(WorkItem aWorkItem, ReportSection aSection)
1
3198
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 to and issued by the local host. When I run the service from IIS (https) it is running fine but when I call it from the client it is throwing the following exception: An unhandled exception of type
0
9563
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9386
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9997
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8821
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7366
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5270
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5405
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2793
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.