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

dll dependency cannot be copied to the run directory error

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 1.0.2482.21839, Culture=neutral'
in project 'Controller' cannot be copied to the run directory because
it would conflict with dependency 'MyDAL, Version=1.0.2475.19815,
Culture=neutral.

I got many more of these when adding the new MyDAL project to my
application. How do I fix this?

Thanks

Oct 18 '06 #1
1 3830
This often happens when developers leave wildcard asterisks in the
assemblyinfo file build version string - it gets incremented every time you
do a build. If developers' build versioning gets out of whack, there's the
source of your problem.

You can delete the "supposedly" newer assembly from the output directory
before doing your build as a quick fix. But the best fix is to have a good
build versioning protocol that everyone understands so the issue doesn't
happen in the first place.

Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Ab******@gmail.com" wrote:
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 1.0.2482.21839, Culture=neutral'
in project 'Controller' cannot be copied to the run directory because
it would conflict with dependency 'MyDAL, Version=1.0.2475.19815,
Culture=neutral.

I got many more of these when adding the new MyDAL project to my
application. How do I fix this?

Thanks

Oct 18 '06 #2

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

Similar topics

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...
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...
2
by: Chris Capel | last post by:
Say ... does anyone know of a good (perhaps free) .NET assembly dependency walker? Because when you have a project A with a reference B which is also a reference of C, and C is also a reference of...
2
by: Joe Fallon | last post by:
I have 4 projects in a Solution. Some of them refer to the same class library: ABC.dll. I have copied the file ABC.dll to each of the bin folders and yet I still get this message when I build the...
1
by: Dave | last post by:
I keep getting this warning (sometimes error): Warning: The dependency 'Brierley.Process, Version=1.0.1711.13537, Culture=neutral' in project 'ATCustomerSrv' cannot be copied to the run...
0
by: Dave | last post by:
I keep getting this warning: Warning: The dependency 'Brierley.Process, Version=1.0.1711.13537, Culture=neutral' in project 'ATCustomerSrv' cannot be copied to the run directory because it would...
5
by: cvh | last post by:
How can I create an instance of a class defined in a Dll? This is the code of the class: Class PrClass Public aPrNummer As Integer Public aPrBarcode As String Public aPrPma As Integer...
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...
9
by: Brett Romero | last post by:
I have two projects in one solution - a library and executable. Each have a namespace such as: ROOT.myapp.Functional ROOT.myapp.UI However, each cannot reference the other. myapp.UI is...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.