PC Review


Reply
Thread Tools Rate Thread

Dependency Error: The dependency <dll> in project <project> cannot be coppied to the run directory becuase it would conflict with dependency <dll>

 
 
Jay A. Moritz
Guest
Posts: n/a
 
      14th Apr 2005
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 my application that was using some
other namespaces that I had built and incorrectly referenced to the dll
instead of the project, but I ended up removing the reference entirely but
my project keeps getting the error.

How do I tell my project to stop looking for a dll that isn't even
referenced anymore and stop giving me this <expletive removed> error?

Jay A. Moritz


 
Reply With Quote
 
 
 
 
=?Utf-8?B?U2VtaXByb0NhcHBh?=
Guest
Posts: n/a
 
      14th Apr 2005
Two things you could try:

1. Check that all the references paths in your project properties are
correct. Old reference paths can cause VS to pick up the wrong dlls

2. If that seems to be alright try deleting all the dlls in your bin
directory.

"Jay A. Moritz" wrote:

> 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 my application that was using some
> other namespaces that I had built and incorrectly referenced to the dll
> instead of the project, but I ended up removing the reference entirely but
> my project keeps getting the error.
>
> How do I tell my project to stop looking for a dll that isn't even
> referenced anymore and stop giving me this <expletive removed> error?
>
> Jay A. Moritz
>
>
>

 
Reply With Quote
 
Cor Ligthert
Guest
Posts: n/a
 
      14th Apr 2005
Jay,

Mostly this error is gone when you do a restart of your computer. It happens
because you have locked that dll. You can search as well what locks it of
course.

Cor


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Project Dependency and Architecture shapper Microsoft C# .NET 6 8th Apr 2009 03:14 PM
dependency conflict error msg =?Utf-8?B?QmFza2Fy?= Microsoft Dot NET Framework Forms 1 9th Jan 2007 04:19 PM
dll dependency cannot be copied to the run directory error AboutJAV@gmail.com Microsoft C# .NET 1 18th Oct 2006 10:38 PM
Conflict with dependency on build =?Utf-8?B?RGF2ZQ==?= Microsoft ASP .NET 0 27th Oct 2004 01:43 PM
Project dependency bug in .Net Studio? Non Given Microsoft C# .NET 1 2nd Aug 2004 01:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:23 PM.