Tuesday, November 2, 2010

Backup Assembly from GAC

Collect Assembly files from Global Assembly Cache
Using below command you can copy Assembly file to your local path.

  1. Open Command Prompt
  2. type this command "copy C:\Windows\assembly\GAC_MSIL\DLLName\\DLLNAME.dll c:\OldDlls_Backup\"

See Example : copy C:\Windows\assembly\GAC_MSIL\MyAssemblyFile\\MyAssemblyFile.dll c:\OldDlls_Backup\

Then see the "c:\OldDlls_Backup\" folder, one file will be copy from GAC.
Happy Coding !!!