O'Reilly logo

C# for Java Developers by Adam Freeman, Allen Jones

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

The Global Assembly Cache

The GAC is a storage area where the CLR can locate shared assemblies; shared assemblies don’t have to be installed in the GAC to be used by applications, but doing so can ease the burden of system administration; see the Assembly Versions section later in this appendix for more details of how the GAC can be used.

The Global Assembly Cache Tool (gacutil.exe) is used to install shared assemblies in the GAC; the following command installs the StringPrinter assembly:

gacutil -i StringPrinter.dll

The .NET Framework includes a Windows Explorer extension that is used to view the GAC. Navigate to the assembly subdirectory of the Windows directory (usually either C:\WINNT\assembly or C:\Windows\assembly). The list of shared assemblies ...

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