gacutil
Global Assembly Cache management utility
TLDR
Install assembly to GAC
SYNOPSIS
gacutil [options] [assembly]
DESCRIPTION
gacutil manages the Global Assembly Cache (GAC) for .NET assemblies. The GAC stores shared assemblies that can be used by multiple .NET applications.
On Linux, gacutil is provided by Mono. It installs, uninstalls, and lists assemblies in the GAC. Strong-named assemblies can be shared across applications through the GAC.
PARAMETERS
-i assembly
Install assembly to GAC.-u name
Uninstall assembly from GAC.-l [name]
List assemblies (optionally filtered).-il listfile
Install assemblies from list file.-ul listfile
Uninstall assemblies from list file.-package name
Package name for installation.-gacdir dir
Specify GAC directory.-root dir
Root directory for operations.
CAVEATS
Requires strong-named assemblies for GAC installation. Mono's GAC differs from Windows .NET GAC. Root privileges may be required. .NET Core doesn't use GAC; assemblies are self-contained.
HISTORY
The GAC was introduced with .NET Framework 1.0 by Microsoft for assembly sharing. Mono implemented compatible tools including gacutil for cross-platform .NET development. With .NET Core/.NET 5+, the GAC model was replaced by NuGet packages.
