Getting a copy of a DLL that’s only in the GAC

By patrickwellink
July 11, 2006
Comments Off on Getting a copy of a DLL that’s only in the GAC

Ok probably there is a simpeler way of doing this but i googled for it and couldn’t find it. So here is the story.


I needed a specific DLL that was placed in the GAC by the install of BizTalk. I needed the DLL cause I needed to ad a reference in my C# project. If anybody knows how to add a Reference to a DLL tha’s in the GAC I’ll be interested as well.


But I couldn’t find a way to do it so I needed a copy of that dll.


So you use explorer and Browse to the GAC.


WindowsGac.JPG


But you can’t make a copy of it, You can see all the details and stuff but you cannot copy it. But if you open a Command prompt and go to the same directory stuff looks different….


CommandGac.JPG


And for sure when you go to the correct directory you can get the underlying DLL.


CommandGac1.JPG


There are probably easier ways of doing this but I thought I share this method of doing it.


 

Comments: 0

Comments are closed.

  • Recent Posts
  • Recent Comments
  • Archives
  • Categories
  • Meta