How do I manually copy assemblies into the GAC?

DenaliHardtail picture DenaliHardtail · Dec 6, 2009 · Viewed 14k times · Source

I'm using Windows 7 Ultimate, trying to manually copy a file into the GAC. I tried using Windows Explorer but it promptly tells me "Access is denied". I tried using the command line with elevated permissions and it says the file was copied but I can't find the assembly anywhere.

I'm updating a third party spreadsheet component (GemBox) and the update process involves manually dropping the new version of the assembly into the GAC of the dev machine. Any suggestions?

Answer

jvilalta picture jvilalta · Dec 6, 2009

You could try installing it using gacutil:

gacutil -I yourassembly.dll