gacutil -V (return code: 1)
Option --version takes 1 argument
gacutil --help (return code: 1)
Usage: gacutil.exe <commands> [ <options> ]
Commands:
-i <assembly_path> [-check_refs] [-package NAME] [-root ROOTDIR] [-gacdir GACDIR]
Installs an assembly into the global assembly cache.
<assembly_path> is the name of the file that contains the assembly manifest
Example: -i myDll.dll
-il <assembly_list_file> [-check_refs] [-package NAME] [-root ROOTDIR] [-gacdir GACDIR]
Installs one or more assemblies into the global assembly cache.
<assembly_list_file> is the path to a test file containing a list of
assembly file paths on separate lines.
Example -il assembly_list.txt
assembly_list.txt contents:
assembly1.dll
assembly2.dll
-u <assembly_display_name> [-package NAME] [-root ROOTDIR] [-gacdir GACDIR]
Uninstalls an assembly from the global assembly cache.
<assembly_display_name> is the name of the assembly (partial or
fully qualified) to remove from the global assembly cache. If a
partial name is specified all matching assemblies will be uninstalled.
Example: -u myDll,Version=1.2.1.0
-ul <assembly_list_file> [-package NAME] [-root ROOTDIR] [-gacdir GACDIR]
Uninstalls one or more assemblies from the global assembly cache.
<assembly_list_file> is the path to a test file containing a list of
assembly names on separate lines.
Example -ul assembly_list.txt
assembly_list.txt contents:
assembly1,Version=1.0.0.0,Culture=en,PublicKeyToken=0123456789abcdef
assembly2,Version=2.0.0.0,Culture=en,PublicKeyToken=0123456789abcdef
-us <assembly_path> [-package NAME] [-root ROOTDIR] [-gacdir GACDIR]
Uninstalls an assembly using the specifed assemblies full name.
<assembly path> is the path to an assembly. The full assembly name
is retrieved from the specified assembly if there is an assembly in
the GAC with a matching name, it is removed.
Example: -us myDll.dll
-l [assembly_name] [-root ROOTDIR] [-gacdir GACDIR]
Lists the contents of the global assembly cache.
When the <assembly_name> parameter is specified only matching
assemblies are listed.
-?
Displays a detailed help screen
Options:
-package <NAME>
Used to create a directory in prefix/lib/mono with the name NAME, and a
symlink is created from NAME/assembly_name to the assembly on the GAC.
This is used so developers can reference a set of libraries at once.
-gacdir <GACDIR>
Used to specify the GACs base directory. Once an assembly has been installed
to a non standard gacdir the MONO_GAC_PREFIX environment variable must be used
to access the assembly.
-root <ROOTDIR>
Used by developers integrating this with automake tools or packaging tools
that require a prefix directory to be specified. The root represents the
"libdir" component of a prefix (typically prefix/lib).
-check_refs
Used to ensure that the assembly being installed into the GAC does not
reference any non strong named assemblies. Assemblies being installed to
the GAC should not reference non strong named assemblies, however the is
an optional check.
Ignored Options:
-f
The Mono gacutil ignores the -f option to maintain commandline compatibility with
other gacutils. gacutil will always force the installation of a new assembly.
-r <reference_scheme> <reference_id> <description>
The Mono gacutil has not implemented traced references and will emit a warning
when this option is used.