There is a command available in Windows for doing the task. "subst".
The command will create a virtual folder of all GAC files to a separate drive. Below is the syntax:
subst Z: C:\windows\AssemblyWhen you go to the my computer you will find a new drive under the regular drives. Just go inside and you can see all the GAC files. The folder GAC_MSIL is what your all files reside in. Copy the dll's you needed and paste them in some safe location for backup.
To remove the Z drive from machine, then use below command.
subst Z: /DAll credits goes to Phani and take a look at this post from him for more information. Enjoy some nice tips and rare findings from the blog.
You can try this -
ReplyDeleteSet HKLM\Software\Microsoft\Fusion\DisableCacheViewer to 1.
If the value does not exist then we can create it.
I don't mean to be pedantic but just to ease confusion the above technique creates essentially a drive mapping to a virtual folder it does not create a copy.
ReplyDeleteDisabling the CacheViewer is just as easy an approach if you need to get dlls would probably put the setting back afterwards.
Thanks for the comment. I have updated the post by removing "copy" word in it.
ReplyDeleteYou can also do it from a run command (WindowsKey-R) and enter "c:\windows\assembly\gac_msil"
ReplyDelete