GAC Question

  • Thread starter Thread starter Leo
  • Start date Start date
L

Leo

I have installed an assembly in the GAC but I don't see how to set a reference to it. If I set a
reference to the original assembly that I copied into the GAC does the program then use the copy in
the GAC when it runs?
 
Hi..

In Solution Explorer, Right click on "Refernces", you wouuld find one dialog
to add assmeblies. If you have installed assembly then it should be listed
there and you can select it to "add".

Yes, If you are added assembly from GAC, then it would refere to GAC alone.

With Best Regard
Naveen K S
 
Generally yes. The versioning is all important here Any difference in the
assembly's version, culture or public key and the assembly binding will
fail, ie. the assembly will not load.

If you are doing this in VS.NEt, your project would reference the assembly,
(which is strong named) and its Copy Loal attribute would be false.
 
Back
Top