You can use gacutil.exe to install and uninstall an assembly, as well as to list the content of the GAC. Table D-2 shows some of the common uses of the Assembly Registration Utility.
Option |
Description |
---|---|
/l |
To list the content of the GAC. |
/ldl |
To list the content of the downloaded files cache. |
/cdl |
To clear the content of the downloaded file cache. |
/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=1.0.0.1). |
/h or /help or /? |
To display command syntax and options. |