Getting .dll files out of the GAC

Periodically, you may find it necessary to get a copy of a .dll file out of the the GAC (C:\Windows\Assembly).  Navigating to this folder, you will notice it doesn’t “feel” like a normal windows folder since it isn’t.  You can drag .dll files onto this folder to install, but you can’t drag anything out of it.  This happens due to the shfusion.dll explorer extension dll that format the GAC folder.

Before:

image

So if you want access to these .dlls, you can unregister the shfusion.dll

regsvr32 /u C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\shfusion.dll

and you should see a message like this:

image

After:

Once you have unregistered the .dll, you can browse to the assembly folder and you will notice that the underlying folder structure is exposed:

image

If you’re looking to grad several .dlls out of the GAC, you can use xcopy or some other tool to flatten out the folder structure.

About these ads

4 Responses

  1. Пора переименовать блог, присвоив название связанное с доменами :) может хватит про них?

  2. Пора переименовать блог, присвоив название связанное с доменами :) может хватит про них?

  3. не информативно как- то

  4. (-)Galaxy-Projecs.org.ru(-) (-) !!!(-) (-)

    http://www.workkamen.ru/

    . ?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: