From mztools.com:

You can follow this procedure to extract the assembly from the GAC:

Open a MS-DOS command window (click Start, Run… type cmd and press enter) Use the SUBST command to map a drive letter to the GAC folder:

SUBST G: C:\Windows\Assembly

That maps the drive letter G: to the GAC folder. With the SUBST command you bypass the shell extension.

Use Windows Explorer to browse the G: folder. You will see the actual folders, with names like GAC, GAC_32, GAC_MSIL and one subfolder for each assembly. Once you locate the assembly DLL that you are looking for, you can copy it outside the GAC, to the \bin folder of your add-in project and add a reference to it.

When done, you can undo the mapping using:

SUBST G: /D