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

In earlier versions of the .NET Framework, the Shfusion.dll Windows shell extension enabled you to remove assemblies from the global assembly cache. Beginning with the .NET Framework version 4, Shfusion.dll is obsolete.

See Also

Reference

Gacutil.exe (Global Assembly Cache Tool)

Other Resources

Working with Assemblies and the Global Assembly Cache