Wednesday, February 9, 2011

How to Extract DLLS from GAC

For those who wants to take a copy of the dll from GAC (Assembly), follow the below 3 simple steps:

1.       uninstall the dll using the following command in the command prompt
regsvr32 -u C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\shfusion.dll
2.       Now type assembly in the Run dialog box, you will see the folder view of the GAC. Copy the dll you want (Usually we would find the dlls under GAC_MSIL folder)
3.       To get back to the previous state of view, register the Shfusion dll using the following command
regsvr32 C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\shfusion.dll

No comments:

Post a Comment