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

A

active

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
 
H

Herfried K. Wagner [MVP]

* " active said:
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?
 
A

active

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
 
H

Herfried K. Wagner [MVP]

* " active said:
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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top