reference dependency warnings during build

  • Thread starter Thread starter marfi95
  • Start date Start date
M

marfi95

In the project I'm working on, I have a reference to another project of
mine that is the base class objects for my system. The problem I have
is that when I build my project, it compiles, but I get following
warning:

Warning: The dependency 'Intface1, Version=1.0.2006.32652,
Culture=neutral' in project 'Project1' cannot be copied to the run
directory because it would overwrite the reference 'Intface1,
Version=1.0.2007.12912, Culture=neutral'.

Here is the thing though:

The version on the reference in the project is the .2007 version. I've
looked at the version #'s on all the files and they are all the .2007
version. I can't find anywhere on my drive where this .2006 version is
coming from. I also looked in the registry.

Where in the world is this coming from ?

Thanks,
Mark
 
Probably another DLL that you are also referencing, that also points to
Project1. And that DLL was compiled when Project1 still had a build of
..2006.

I have 2 suggestions:

1. Fix the version number of your DLL's, and update them only during version
upgrades of your application
2. set CopyLocal to False on all your references.
 
2. set CopyLocal to False on all your references.

We are having similar problems and this seems (to me) to be a good
solution.
Are there any notable problems with it?

Alan.
 
Haven't encountered any issues yet doing that.

We are having similar problems and this seems (to me) to be a good
solution.
Are there any notable problems with it?

Alan.
 
Back
Top