473,322 Members | 1,523 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,322 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 1399

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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.