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
views:
185answers:
2
+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
2009-03-03 06:03:18
+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
2009-03-03 06:07:15