O'Reilly logo

C# Essentials by Peter Drayton, Ben Albahari, Brad Merrill

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing the Global Assembly Cache

There are two ways to work with the assembly cache. One is the Windows Explorer, which has a shell extension that displays the cache and allows you to manipulate the entries. If you explore the c:\winnt\assembly directory, you can display the current cache:

start c:\winnt\assembly

Alternately you can use the gacutil utility, which allows you to install, uninstall, and list the contents of the global assembly cache. The following:

gacutil /i e.dll

installs e.dll.

This example:

gacutil /u e

uninstalls all assemblies with the name e .

This example:

gacutil /u e,ver=0.0.0.0

uninstalls only the assembly e that matches the version number.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required