Assembly Registration Utility (gac.exe)

You can use gac.exe to install and uninstall an assembly, as well as to list the content of the GAC. The following table shows some of the common usages of the Assembly Registration Utility:




To list the content of the GAC.


To list the content of the GAC.

-i filename

To install an assembly with file named filename into the GAC.

-u assemblyname

To uninstall an assembly from the GAC by specifying the assembly name. If multiple versions of the same assembly exist, all of them will be removed unless a version is specified with the assemblyname (i.e., gac -u myAssembly,ver=

Get .Net Framework Essentials now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.