TL;DR — Kurzzusammenfassung

How to uninstall an assembly ( DLL ) from the Global Assembly Cache (GAC) using gacutil As a developer in general you'll find yourself surrounded by versio

Hinweis: Dieser Artikel wurde ursprünglich veröffentlicht in 2012. Einige Schritte, Befehle oder Softwareversionen haben sich möglicherweise geändert. Überprüfen Sie die aktuelle Dokumentation von Windows für die neuesten Informationen.

As a developer in general you’ll find yourself surrounded by (https://en.wikipedia.org/wiki/Revision_control “Revision control”) issues from time to time. Say for example, you are working with a particular (https://en.wikipedia.org/wiki/Library “Library”) during development and a new version comes out. Sometimes the problems you face using the correct version of the library can be resolved by removing the previous versions from the Global Assembly Cache (GAC). Many other reasons exist for wanting to do this. Perhaps you are coding this as part of an installer for your application. Any way, it is always good knowledge to have around. In order to remove or uninstall a library / DLL / Assembly from the GAC simply run the following at the command prompt:

gacutil /u <fully qualified assembly name >

Don’t forget you are going to need to run it using elevated credentials ((https://en.wikipedia.org/wiki/User_Account_Control “User Account Control”)) If you need more help or to see more options simply type:

gacutil /?

That command will launch the onscreen help for gacutil



Zusammenfassung