473,405 Members | 2,262 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,405 software developers and data experts.

Error: The dependency in cannot be copied...(references in vs.net2

Within my group of developers we have a list of library components we develop
and continuously enhance and upgrade. We don't have source control (that's a
bit of a sore issue for me) but when an update is made to a library .dll we
put these out in a released directory where all of our other
solutions/projects reference these "released" .dll's. These assemblies are
referenced directly to the assembly files themselves from other projects, not
the projects they are developed in. This causes the following problems and
is very frustrating.

We always have a versioning problem with VS.NET 2003. If we change the
version of these released library .dll's VS.NET always gives this error:

Error: The dependency in 'ASSEMBLY NAME' cannot be copied to the run
directory because it would conflict with dependency version 'OLD VERSION'
and 'NEW VERSION'

Involving overwriting the old version with the new version in the \bin
directory.

If the changes we put into one of these "released" library .dll's break's
other code, we don't care and just want all of our projects to be compliant
with the new library code changes.

I've tried deleting all the files in the \bin directory, that doesn't work.
It seems I've tried everything and can't get this error resolved. I end up
going back and hard coding in the version number to it's original! This is
not acceptable, because then we are releying in time/date to be sure the
application has the most recent .dll.

I know that referencing a project will solve this but I can't do it that way
because the projects are often in test mode and aren't "cleared" until the
actual build is done and the .dll is put in the released directory. Any
suggestions would be greatly appreciated.

Jul 21 '05 #1
0 1402

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

Similar topics

2
by: Alex Campos | last post by:
Hi, I am using VB.NET and I have a project called BusinessLogicLayer and one called Rating. I have rebuild both projects and I can not get rid of the following error-> Error: The dependency...
0
by: Doug | last post by:
Hello, We are having a problem with a component in our system that uses publisher policy files. Whenever it gets modified and moved out to where our build processes reference components for other...
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...
0
by: Just Me | last post by:
Anyone know what could cause the following error messages? Note the versions are: A...B B...A Warning: The dependency 'LibraryCs, Version=1.0.1916.39646, Culture=neutral' in project 'CAG...
2
by: Just Me | last post by:
Anyone know what could cause the following error messages? Note the versions are: A...B B...A Warning: The dependency 'LibraryCs, Version=1.0.1916.39646, Culture=neutral' in project 'CAG...
5
by: Jay A. Moritz | last post by:
Error: The dependency '<my dll>' in project '<my project>' cannot be copied to the run directory because it would conflict with dependency '<my dll>'. I am getting a dependency error building...
0
by: Dave Lessard | last post by:
Within my group of developers we have a list of library components we develop and continuously enhance and upgrade. We don't have source control (that's a bit of a sore issue for me) but when an...
6
by: tony | last post by:
Hello! I have several projects where each one build a library.(class library or window control library). Now I get some strange compile error when building the *.exe file and doesn't...
1
by: AboutJAV | last post by:
Hi, I got an application which incorporate many other dll controls. When I integrated the builds from other person, I get this error all over the place Error: The dependency 'MyDAL, Version...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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,...

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.