troubleshooting Question

C#.NET 1.1 error message: The dependency (dependency.dll, version 1.1.1.1) in myproject cannot be copied to the run directory because it would conflict with dependency (...dll, version 1.2.1.1)

Avatar of alexmac05
alexmac05Flag for United States of America asked on
.NET ProgrammingC#ASP.NET
10 Comments1 Solution388 ViewsLast Modified:
error message: The dependency (dependency.dll, version 1.1.1.1)  in myproject cannot be copied to the run directory because it would conflict with depdency  (dependency.dll, version 1.2.1.1)

What can cause this error message?

1. There is no mention of dependency.dll version 1.1.1.1 in any of the text of the solution
2. dependency.dll version 1.1.1.1 isn't referenced in any project for the solution
2. dependency.dll version 1.1.1.1 isn't on the machine running this build
3. version 1.2.1.1 of dependency.dll is referenced in many projects in the solution and that is the version in the run directory

I can get rid of the error message by adding a direct reference to dependency.dll version 1.2.1.1 to myproject in the solution.  
I'm basically just curious as to why this is happening.

I even checked the references references to the projects giving the error and they don't reference dependency.dll version 1.1.1.1 either.

I do not want to add strong names in Global Cache Assembly because I don't need both versions.

thoughts as to why this is happening?

any thoughts of how i can track down who is trying to reference dependency.dll 1.1.1.1?

cheers,
alex
ASKER CERTIFIED SOLUTION
alexmac05

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros