Friday, April 22, 2011

SharePoint 2010 - Copy DLL from GAC [Assembly]


Please find the following approach to copy a DLL from GAC
Using SUBST Command
Go to Windows DOS Prompt and type  following command and press enter. 
SUBST L:  “C:\Windows\Assembly”

This command will create a virtual drive “L” and this drive will have the internal view of GAC, where C:\Windows\Assembly will have the abstract view of GAC. Kindly ensure that the drive name that you type in SUBST command, it must not exist in your system. Go to My Computer and you will see the Drive named “L:”.

Now to delete this drive, run this command on command prompt.

SUBST L: /D

This will delete the L: drive