By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,290 Members | 1,204 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,290 IT Pros & Developers. It's quick & easy.

What does it mean: Warning: The dependency 'CAGLibNS, Version=1.0.1423...

P: n/a
Sometimes I get the warning:

Warning: The dependency 'CAGLibNS, Version=1.0.1423.9562, Culture=neutral'
in project 'CAGPaintDLL' cannot be copied to the run directory because it
would overwrite the reference 'CAGLibNS, Version=1.0.1427.35764,
Culture=neutral'.
What should I do. I think I want it to overwrite since I'm debugging and
want the latest version.

Thanks
Cal
Nov 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
* " active" <ac****@REMOVEa-znet.com> scripsit:
Warning: The dependency 'CAGLibNS, Version=1.0.1423.9562, Culture=neutral'
in project 'CAGPaintDLL' cannot be copied to the run directory because it
would overwrite the reference 'CAGLibNS, Version=1.0.1427.35764,
Culture=neutral'.


Are 'CAGLibNS' and 'CAGPaintDLL' in the same solution?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2

P: n/a
YES

There are about 24 projects in the solution and CAGLibNS is a library that
is shared amoung them.

When this error happens, I use windows search to find all the copies of the
library and then delete them - then rebuild the solution. That seems to work
but I wonder why it happens.

The version numbers don't make sense. Why would it be writing 1423.9562 if
1427.35764 already exists??

Cal

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:eZ**************@TK2MSFTNGP10.phx.gbl...
* " active" <ac****@REMOVEa-znet.com> scripsit:
Warning: The dependency 'CAGLibNS, Version=1.0.1423.9562, Culture=neutral' in project 'CAGPaintDLL' cannot be copied to the run directory because it would overwrite the reference 'CAGLibNS, Version=1.0.1427.35764,
Culture=neutral'.


Are 'CAGLibNS' and 'CAGPaintDLL' in the same solution?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #3

P: n/a
* " active" <ac****@REMOVEa-znet.com> scripsit:
There are about 24 projects in the solution and CAGLibNS is a library that
is shared amoung them.

When this error happens, I use windows search to find all the copies of the
library and then delete them - then rebuild the solution. That seems to work
but I wonder why it happens.

The version numbers don't make sense. Why would it be writing 1423.9562 if
1427.35764 already exists??


Instead of referencing the DLL directly, set a project reference (you
can do that on a separate tab when creating a new reference).

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.