References across multiple projects

  • Thread starter sonali_reddy123
  • Start date
S

sonali_reddy123

Hi all,


I have developed an application in which there are uptill now 12
projects and few of them are
dependent on each other.

The problem is I am not able to manage the references across different
projects.

Previously I used to get one error it says something like the object of
type cannot be
conveted to the other object but in actual case those objects were of
same type.
Somehow I could able to resolve that problem.

Now the scenario is different now I am getting few warnings like the
'specified dependency
could not be copied because it will overwrite the reference with some
version no. associated
with it'.

And there is one constant problem of the reference path of the DLL's
getting changed constantly even though I specify a proper path for the
referenced dll on recompliation of
the parent project the path of the referenced dll is getting changed
automatically.

I don't know why such a problem is happening is there any help which I
can use to manage
my references throughout the life of my project.

Thanks in advance
 
G

Guest

Hi Ms. Sonali,

The solution is quite simple & straight-forward. What you can do is - create
a strong-named assembly, register it with the GAC & then use it across your
projects.

To create a key pair use: sn.exe
To link required assembly using the key pair use: al.exe
To register this assembly use: gacutil.exe

If you are not aware of what I am talking about, see .Net framework
documentation or drop me a mail at banavalikar(at)gmail(dot)com or call me on
my cell 9821383583.
 

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