How do I reference an assembly located in the GAC?

R

rsine

I created my first shared assembly and installed it to the GAC using
gacutil. Now, I have another assembly I want to reference the shared
assembly. Adding the reference has me a bit stumped since I cannot
select it from the assembly folder. How do I go about adding a
reference to the assembly located in the GAC?

-Thanks
 
M

Mattias Sjögren

How do I go about adding a
reference to the assembly located in the GAC?

You don't. Reference a copy of it that's located outside the GAC. The
CLR will still load it from the GAC at runtime.


Mattias
 

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