How do I manually copy assemblies into the GAC?

14.3k views Asked by At

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?

3

There are 3 answers

0
jvilalta On BEST ANSWER

You could try installing it using gacutil:

gacutil -I yourassembly.dll
0
Alex Reitbort On
0
Felienne Hermans On

You can find gacutil in C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\x64