GAC Question

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?
 
G

Guest

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
 
P

Paul Glavich [MVP ASP.NET]

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.
 

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