Hello,
We are having a problem with a component in our system that uses
publisher policy files. Whenever it gets modified and moved out to
where our build processes reference components for other builds,
developers get this error:
"The dependency 'COMPONENT, Version=VERSION, Culture=neutral,
PublicKeyToken=PUBLIC KEY TOKEN' in project 'OTHER COMPONENT' cannot
be copied to the run directory because it would conflict with
dependency 'COMPONENT, Version=PREVIOUS VERSION, Culture=neutral,
PublicKeyToken=PUBLIC KEY TOKEN'."
I've been assuming that the problem was that when they coded the
"OTHER COMPONENT" on their machine that they did so against the
COMPONENT with the PREVIOUS VERSION number and that causes problems
when trying to build which uses the COMPONENT with the VERSION number
that is most recent. So I've been telling them to grab the most
recent version of the COMPONENT and get it on their machine, add that
one to the references in thie OTHER COMPONENT before checking it into
Source Safe (which is where our build processes pick it up before
trying to build it).
Sometimes this works and sometimes it doesn't and I am not sure why.
Additionally, I can't see anything in the csproj or sln file that
indicates what version of the COMPONENT the OTHER COMPONENT is using.
Any thoughts on how to resolve this issue?