If you copy the .NET 4 version of gacutil.exe (located in C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools) to another machine/server you might come across the issue, that executing gacutil.exe just seems to do nothing.
To fix this problem, you need to copy the files gacutil.exe.config (also from C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools) and gacutlrc.dll (from the sub-folder 1033) to the same location where you have copied the gacutil.exe to.
Executing gacutil.exe should now output something like:
Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.30319.17929
Copyright (c) Microsoft Corporation. All rights reserved.
Usage: Gacutil [ ]
Commands:
/i [ /r <...> ] [ /f ]
Installs an assembly to the global assembly cache.
/il [ /r <...> ] [ /f ]
Installs one or more assemblies to the global assembly cache.
/u [ /r <...> ]
Uninstalls an assembly from the global assembly cache.
[...]
3 responses to “.NET 4: Fix “gacutil.exe does nothing” after copying gacutil.exe to another machine/server”
Thanks, this was exactly what I was looking for!
Wow. You just saved me hours and hours of searching!
Copying the “gacutlrc.dll” worked like a charm.
Thanks! Life saver