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?
There are two ways to remove an assembly from the global assembly cache (GAC): By using the Global Assembly Cache tool (Gacutil.exe). You can use this option to uninstall assemblies that you've placed in the GAC during development and testing. By using Windows Installer.
The Global Assembly Cache (GAC) is a central repository for storing shared assemblies. The GAC allows multiple versions of the same assembly to be installed concurrently and also prevents different assembly vendors from overwriting each other's assemblies.
You could try installing it using gacutil:
gacutil -I yourassembly.dll
You can find gacutil in C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\x64
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With