OnWorks favicon

gacutil - Online in the Cloud

Run gacutil in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gacutil that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



gacutil - Global Assembly Cache management utility.


gacutil [-user] [command] [options]


gacutil is a tool used by developers to install versioned assemblies into the system
Global Assembly Cache (GAC) to become part of the assemblies that are available for all
applications at runtime.

Notice that they are not directly available to the compiler. The convention is that
assemblies must also be placed in a separate directory to be accessed by the compiler.
This is done with the -package directive to gacutil.

The tool allows for installation, removal, and listing of the contents of the assembly

The GAC is relative to the Mono installation prefix: mono_prefix/lib/mono.


-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

The -package option can be used to also create a directory in 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.

The -root option is used to specify the "libdir" value of an installation prefix which
differs from the prefix of the system GAC. Typical automake usage is "-root
$(DESTDIR)$(prefix)/lib". To access assemblies installed to a prefix other than the mono
prefix, it is necessary to set the MONO_GAC_PREFIX environment variable.

The -gacdir option is included for backward compatibility but is not recommended for new
code. Use the -root option instead.

The -check_refs option is 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.

-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.

-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. As
opposed to the install option that takes a filename, this takes as an argument the
assembly name, which looks like this:
MyLibrary.Something, version=, publicKeyToken=xxxx,culture=neutral

Notice that you can have spaces in the command line. There is no need to quote them.

Performs a greedy removal. If you only specify one component like, "MyLibrary.Something",
it will remove all versions of the library.

-us <assembly_path> [-package NAME] [-root ROOTDIR] [-gacdir GACDIR] Uninstalls an
assembly using the specified assembly's 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. Unlike the -u option this option
takes a file name, like this:
Example: -us myDll.dll

-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:

Use gacutil online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Zephyr Project
    Zephyr Project
    The Zephyr Project is a new generation
    real-time operating system (RTOS) that
    supports multiple hardware
    architectures. It is based on a
    small-footprint kernel...
    Download Zephyr Project
  • 2
    SCons is a software construction tool
    that is a superior alternative to the
    classic "Make" build tool that
    we all know and love. SCons is
    implemented a...
    Download SCons
  • 3
    PSeInt is a pseudo-code interpreter for
    spanish-speaking programming students.
    Its main purpose is to be a tool for
    learning and understanding the basic
    Download PSeInt
  • 4
    oStorybook l'outil privil�gi� des
    �crivains. ATTENTION : voir sur
    --en_EN oStorybook the right tool for
    writers. WARNIN...
    Download oStorybook
  • 5
    Asuswrt-Merlin is a third party
    firmware for select Asus wireless
    routers. Based on the Asuswrt firmware
    developed by Asus, it brings tweaks, new
    features and ...
    Download Asuswrt-Merlin
  • 6
    Atom is a text editor that's
    modern, approachable and full-featured.
    It's also easily customizable- you
    can customize it to do anything and be
    able to ...
    Download Atom
  • 7
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    Download Osu!
  • More »

Linux commands