Wednesday, May 22, 2013

GacUtil Commands

Use:
gacutil -i "path and name of dll"
to install an assembly in the Global Assembly Cache

Use:
gacutil /u "name of dll without the extension"
to uninstall an assembly in the Global Assembly Cache

GacUtil is a command line utility that comes with Visual Studio.  Just open up the Visual Studio Command Prompt found in the Start Menu.  Make sure you run it as an administrator.

No comments:

Post a Comment