Friday, December 24, 2010

How to copy assembly out of GAC?

You might Come across following situation while developing applications:
How to extract DLL from GAC?
How to take backup of dlls placed inside GAC?

Here's command that you can use to take backup of your GAC assemblies.

Create backup folder named 'AssemblyBack' where you want to place your backup files. I create folder at "C:\AssemblyBack"

Just navigate to the 'GAC_MSIL'

Once you are there just copy following command.
C:\Windows\assembly\GAC_MSIL>xcopy c:\AssemblyBack /s /y

Hope you find it useful.

Ashish Chotalia

No comments:

Post a Comment