tags:

views:

185

answers:

2

How to I reference my own .dll after i add it to the GAC? I successfully added my .dll to the GAC, have seen it in the list. However, when i try to reference in Visual Studios..... i am lost. Thanks Much

+1  A: 

The Add References dialog isn't the entire GAC ;-p

See here for a walkthrough (I believe the steps are identical for VB and C#). Easier is to just "Browse..." to the dll you want; personally, I avoid GAC unless I absolutely need it, such as a COM-callable-wrapper hosted in COM+ as a "serviced component". Other than that, file references work better IMO.

Marc Gravell
+1  A: 

I can only second Marc on this. You don't need to reference from the GAC; you can reference it from another folder during build.

Franci Penov