spgilmore

spgilmore

  • NA
  • 591
  • 0

Working with assemblies.

Dec 12 2003 1:13 PM
I need to use SharpZipLib. It exists in a single DLL named ICSharpCode.SharpZipLib.dll. There is an install.bat file which uses gacutil /i to install it. I copied the DLL to c:\windows\system32 and ran gacutil /i c:\windows\system32\ICSharpCode.SharpZipLib.dll I then ran gacutil /l and found this entry: ICSharpCode.SharpZipLib, Version=0.5.0.0, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, Custom=null I think this tells me that it's installed in the global assembly cache. I then tried to add a reference to it in my project. I go to solution explorer, right-click on references and I get a dialog with 3 tabs, .net, COM and Project. I expected to find either ICSharpCode.SharpZipLib or SharpZipLib in this assembly. Instead I find neither, and nothing with a path of c:\windows\system32*.*. I have to click BROWSE and point to the DLL to get a reference, then all works fine. If the GACUTIL doesn't put the DLL in the list on the .NET tab in the ADD REFERENCE dialog, then what does it do, and how do I get sharpziplib into that list?