Usage: Gacutil <command> [ <options> ]
Commands:
/u <assembly_name> [ /r <...> ]
Uninstalls an assembly. <assembly_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.1.0.0,Culture=en,PublicKeyToken=874e23ab874e23ab
/r FILEPATH c:\projects\myapp.exe "My App"
/uf <assembly_name>
Forces uninstall of an assembly by removing all traced references.
<assembly_name> is the full name of the assembly to remove. Assembly will
be removed unless referenced by Windows Installer.
! Warning: use the /uf command with care as applications may fail to run !
Example: /uf
myDll,Version=1.1.0.0,Culture=en,PublicKeyToken=874e23ab874e23a
b
/ul <assembly_list_file> [ /r <...> ]
Uninstalls one or more assemblies from the global assembly cache.
<assembly_list_file> is the path to a text file that contains a list of
assembly names. Individual names in the text file must be
separated by CR/LF.
Example: /ul myAssemblyList.txt /r FILEPATH c:\projects\myapp.exe "My App"
myAssemblyList.txt content:
myDll,Version=1.1.0.0,Culture=en,PublicKeyToken=874e23ab874e23ab
myDll2,Version=1.1.0.0,Culture=en,PublicKeyToken=874e23ab874e23ab
/ungen <assembly_name>
Uninstalls a native image installed via the NGEN utility. <assembly_name>
is the name of the assembly for which native images are to be uninstalled.
The assembly itself will remain in the global assembly cache.
Example: /ungen myDll
Hope this helps.
Regards
Sam
"Lloyd Dupont" wrote:
> I think he meant the "unregistering tool whatever it is"...
> refering you to:
> C:\Program Files\Microsoft Visual Studio .NET
> 2003\SDK\v1.1\Bin\StartTools.htm
>
> And then you'll undestand he was speaking of: gacutil.exe
>
> "Diego F." <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > No. How do I use that tool? I tried using:
> > regasm "my library.dll" /unregister, but it doesn't find the libray.
> >
> > --
> > Regards,
> >
> > Diego F.
> >
> > "sam_in" <(E-Mail Removed)> escribió en el mensaje
> > news:FDB2C6AE-6339-4060-A4B2-(E-Mail Removed)...
> >> Have you tried first unregistering the assembly with regasm tool?
> >>
> >> Regards,
> >> Sam
> >>
> >> "Diego F." wrote:
> >>
> >>> I can't delete an assembly from GAC. I'm trying to delete from Framework
> >>> 2.0
> >>> configuration tool, but I'm getting an error: Error deleting assembly.
> >>>
> >>> How can I remove it?
> >>>
> >>> I get also an error when trying to change the assembly trust with the
> >>> wizard: Unable to load assembly.
> >>>
> >>> Is this a framework 2.0 bug?
> >>>
> >>> --
> >>> Regards,
> >>>
> >>> Diego F.
> >>>
> >>>
> >>>
> >
> >
>
>
>
|