How to copy assembly out of GAC?

  • Thread starter Thread starter Donal McWeeney
  • Start date Start date
D

Donal McWeeney

Hi,

How do I copy an assembly out of the GAC.
Cant find it anywhere else on the box.

Thanks

Donal
 
use the command line to copy the file from (for an assembly called util, version 1.0.0.0, culture=neutral, publickeytoken=aabccddeeff11223344)

c:\<windir>\assemblies\gac\util\1.0.0.0__aabbccddeeff11223344\util.dll

Regards

Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk

Hi,

How do I copy an assembly out of the GAC.
Cant find it anywhere else on the box.

Thanks

Donal
 
Hi Donal,

I think Richard's suggestion is ok. The {sysdir}:\windows\assembly GAC
folder is alerted via windows shell when we view it in windows explorer.
You can navigate into it via commandline and you'll find each assembly will
have serveral sub folders ( for different versions).

In addition, you can also copy the content line of the certain assembly
when you view the
sysdir}:\windows\assembly folder in explorer. The line copy out is
something like:

System.Data Neutral 1.0.5000.0 b77a5c561934e089
file:///F:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/System.Data.dll

And the path is just the actual path of that assembly.

HOpe also helps. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
Back
Top