Seth Woolley's Man Viewer

gacutil(1) - gacutil - Global Asssembly Cache management utility - man 1 gacutil

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

gacutil(Mono 1.0)                                            gacutil(Mono 1.0)



NAME
       gacutil - Global Asssembly Cache management utility.

SYNOPSIS
       gacutil [-user] [command] [options]

DESCRIPTION
       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 con-
       vention is that assemblies must also be placed in(1,8) a separate  directory
       for  being  accessed  to  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 cache.

       The  GAC  is  relative  to  the  Mono  installation  prefix:  mono_pre-
       fix/lib/mono.


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(1,n) that contains the assembly manifest

       The -package option can be used to also create a directory in(1,8)  in(1,8)  pre-
       fix/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  devel-
       opers can reference a set(7,n,1 builtins) of libraries at once.

       The  -root option is used to specify the "libdir" value of an installa-
       tion prefix which differs from the prefix of the system  GAC.   Typical
       automake  usage  is  "-root $(DESTDIR)$(libdir)".  To access(2,5) assemblies
       installed to a prefix other than the mono prefix, it  is  necessary  to
       set(7,n,1 builtins) 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(5,8) assem-
       blies. Assemblies being installed to the GAC should not  reference  non
       strong named(5,8) assemblies, however the is an optional check.

       -l [assembly_name] [-root ROOTDIR] [-gacdir GACDIR]

       Lists  the  contents  of  the  global  assembly cache. When the <assem-
       bly_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_dis-
       play_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(1,3,5)=1.0.0.0, publicKeyToken=xxxx,culture=neutral

       Notice that you can have spaces in(1,8) the command line, there is  no  need
       to quote them.

       The  removal performs a greedy removal, if(3,n) you only specifiy one compo-
       nent 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  specifed  assemblies  full  name.
       <assembly  path>  is the path to an assembly. The full assembly name is
       retrieved from the specified assembly if(3,n) there is an  assembly  in(1,8)  the
       GAC  with  a  matching  name,  it is removed. Unlike the -u option this
       option takes a file(1,n) 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(1,n)  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

FILES
       On  Unix assemblies are loaded from the installation lib directory.  If
       you set(7,n,1 builtins) `prefix' to /usr, the assemblies will be located  in(1,8)  /usr/lib.
       On Windows, the assemblies are loaded from the directory where mono and
       mint live.

       /etc/mono/config(1,5), ~/.mono/config(1,5)

       Mono runtime configuration file.  See the  mono-config(5)  manual  page
       for more information.

WEB SITE
       Visit: http://www.go-mono.com for details

SEE ALSO
       mcs(1),mono(1)





                                                             gacutil(Mono 1.0)

References for this manual (incoming links)