Compartilhar via


How to: Remove an Assembly from the Global Assembly Cache 

Use the Global Assembly Cache tool (Gacutil.exe) to remove an assembly from the global assembly cache.

To remove an assembly from the global assembly cache

  • At the command prompt, type the following command:

    gacutil –u <assembly name>

    In this command, assembly name is the name of the assembly to remove from the global assembly cache.

The following example removes an assembly named hello.dll from the global assembly cache.

gacutil -u hello

The .NET Framework SDK also provides a Windows shell extension called the Assembly Cache Viewer (Shfusion.dll), which you can use to remove assemblies from the global assembly cache.

See Also

Reference

Global Assembly Cache Tool (Gacutil.exe)
Assembly Cache Viewer (Shfusion.dll)

Other Resources

Working with Assemblies and the Global Assembly Cache