Search code examples
windows-7global-assembly-cache

How do I manually copy assemblies into the GAC?


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?


Solution

  • You could try installing it using gacutil:

    gacutil -I yourassembly.dll