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 because it
would conflict with dependency 'xxx.xx.xx, Version=1.0.2068.11260,
Culture=neutral'.
I have a solution that contains 10 class library projects, some of these
projects require references to other projects within the solution.
xxx.xx.xx is the name of my DLL (class library).
I'm having a hard time even understanding why I'm getting these errors that
sometimes will go away if "build the solution" enough times (like 5 or 6
times).
I've tried disabling "Copy Local" -- this causes havoc in my ASP.NET
solution that uses some of these class libraries. I've tried clearing and
setting my solution/project dependencies but this has not helped. I've also
gone thru the class library bin directories and even deleted the "copied"
referenced DLLs the project requires and that works the first time but
anytime after that if I modified a project within the solution and Build,
the above errors come back.
This is VERY frustrating to deal with (I really do have better things to do)
and I've wasted many many hours/days trying to resolve this problem. I'm at
the point now where I'm thinking of writing a Macro to deleted all my Copy
Local DLL's, then do a new Build on my solution -- there must be a better
way??
Using VS 2003 (VB.NET).
Rob.