gacutil.exe
is the .NET Global Assembly Cache utility. gacutil /l
shows the content of the Global Assembly Cache (GAC). /i <assembly_path> [ /r <...> ] [ /f ] | Installs an assembly to the global assembly cache. |
/il <assembly_path_list_file> [ /r <...> ] [ /f ] | Installs one or more assemblies to the global assembly cache. |
/u <assembly_display_name> [ /r <...> ] | Uninstalls an assembly from the global assembly cache. |
/ul <assembly_display_name_list_file> [ /r <...> ] | Uninstalls one or more assemblies from the global assembly cache. |
/l [ <assembly_name> ] | List the global assembly cache filtered by <assembly_name> |
/lr [ <assembly_name> ] | List the global assembly cache with all traced references. |
/cdl | Deletes the contents of the download cache |
/ldl | Lists the contents of the download cache |
/? | Displays a detailed help screen |
/r <reference_scheme> <reference_id> <description> | Specifies a traced reference to install (/i, /il) or uninstall (/u, /ul). |
/f | Forces reinstall of an assembly. |
/nologo | Suppresses display of the logo banner |
/silent | Suppresses display of all output |
gacutil /i asmbl.dll
places the assembly asmbl.dll into the Global Assembly Cache. The assembly can now be used from other assemblies on the same computer, regardless where they're located. gacutil /u
unsinstalls such an assembly. gacutil -i c:\Oracle\19\ODP.NET\managed\common\Oracle.ManagedDataAccess.dll gacutil -i C:\Oracle\19\ODP.NET\bin\4\Oracle.DataAccess.dll
gacutil -u Oracle.ManagedDataAccess gacutil -u Oracle.DataAccess