Introduction to .NET Framework Tools
page 2 of 15
by Suresh Kumar Goudampally
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 69122/ 117

Gacutil.exe - An Insight

Gacutil.exe is a .NET utility library which provides the command-line interface tool that manages the Global Assembly Cache.

The global assembly cache util tool is used to view and manipulate the contents of the global assembly cache.

The command syntax of the gacutil.exe tool looks like the following.

gacutil [options] [assembly name | assembly path | assembly listfile]

assemblyName  :  The name of the assembly.

assemblyPath   :    The path of the file that contains the assembly manifest.

assemblyListFile :  The path to an ANSI text file that lists assemblies to install or uninstall.

 

Here are the some of the commands of Gacutil.exe tool through which we can manage the Global Assembly Cache.

Command Name

                           Description

    /l

This command is used to display the list of all the assemblies that are contained in the Global Assembly Cache.

Eg:   gacutil /l

    /I assemblypath

This command is used to deploy a strongly named assembly into Global Assembly Cache.

 Eg:     gacutil /i test.dll

   /u

 assemblypath

This command is used to remove a DLL from Global Assembly Cache.

Eg:  gacutil /u  test.dll        

    /h

This command displays the command syntax and options for the tool.

Eg:  gacutil /h

     /if

assembly path  

    

This command installs the DLL in the Global Assembly Cache and if the DLL already exists in GAC, it overrides it.

     /ldl

  

This lists the contents of the downloaded files cache.

Eg : gacutil /ldl

    /ul

Assembly path

It uninstalls one or more assemblies specified in the assemblylistfile from the GAC.

    /?

This displays the command syntax and options for the tool.

 

    /f

It specifies this option with the /i or /il options to force an assembly to reinstall. If an assembly with the same name already exists in the global assembly cache, the tool overwrites it.


View Entire Article

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-03-28 8:47:03 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search