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

Warning: The dependancy ... cannot be copied to the run directory...

When I run my Test application I get the following error:

Warning: The dependency 'MyCompany.Utilities, Version=1.0.1852.27525,
Culture=neutral' in project 'MyCompany.Remote' cannot be copied to the run
directory because it would overwrite the reference 'MyCompany.Utilities,
Version=1.0.1852.27795, Culture=neutral'.

MyCompany.Utilities, MyCompany.Remote, are class libraries (compiled to DLL)
I created in a "common" solution. I added these projects and references to
my Test application so I could test them. When I run my appliation I get
the above warning. When I make a call to a method contained in a class in
MyCompany.Remote, it triggers an exception (which is basically the same
error above).

If I set "Copy Local" to false on the added MyCompany.Utilities references
and MyCompany.Remote reference in those projects, but leave the Startup
Project (Test app) references to "Copy Local" = True -- I don't get the
warning, but my Test app will still crash as soon as it references a class
method within MyCompany.Remote.

Can someone offer any suggestions? And/Or tell me why "Copy Local" is even
a option for Added References?

Not sure how to proceed with this -- remove all my Added projects (class
libraries) and re-add them to my Test app? Manually copy my shared DLLs
(class libaries) into my Test app dir?

If .NET has one major weakness, it is the IDE and file management -- it
wants to copy different versions of files everywhere. Argh!! Frustrating!

Rob.
Nov 21 '05 #1
0 926

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

Similar topics

0
by: Mario Karagiorgas | last post by:
hi, We've added the 2.0 application block to a couple of our asp.net web applications and we receive the warning text at the bottom of this message during the build phase. We know for certain...
1
by: El Castaño | last post by:
Hi all! I need a help to solve some warnings... When I build my project, I receive the warnings: Error: The dependency 'rn_ADO_VNet, Version=1.0.1133.25125, Culture=neutral' in project...
2
by: nfr | last post by:
I keep getting the following warning in my compile: Warning: The dependency 'WBWebServices, Version=1.0.1289.13943, Culture=neutral' in project 'WBWin' cannot be copied to the run directory...
1
by: [Yosi] | last post by:
I have a Solution which include 3 project every things was OK sudenly : "Warning: The dependency 'GeneralClass, Version=1.0.1646.18158, Culture=neutral' in project 'DebugScreen' cannot be copied to...
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...
1
by: Raed Sawalha | last post by:
when i build asp.net application i have theses warnings messages ,what they mean? Preparing resources... Updating references... Warning: The dependency 'EW_Calender, Version=2.5.2055.20123,...
3
by: active | last post by:
Sometimes I get the warning: Warning: The dependency 'CAGLibNS, Version=1.0.1423.9562, Culture=neutral' in project 'CAGPaintDLL' cannot be copied to the run directory because it would overwrite...
3
by: tsair | last post by:
I am new to Vb.net.I create a solution with multiple project, when I compile it show me the Warning message, how to solve this. Warning: The dependency 'AppFrameWork, Version=1.0.1811.36961,...
0
by: Rob R. Ainscough | last post by:
When I run my Test application I get the following error: Warning: The dependency 'MyCompany.Utilities, Version=1.0.1852.27525, Culture=neutral' in project 'MyCompany.Remote' cannot be copied to...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...
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.