O'Reilly logo

C# 4.0 Unleashed by Bart De Smet

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

Loaded with knowledge of strong naming, we’re ready to tackle the Global Assembly Cache (GAC), which provides a way to share assemblies across applications in a machine-wide manner (hence the world global). For assemblies to be stored in the GAC, they have to be strong name signed.

Up to now, we’ve always deployed assemblies privately in an application folder. As you will see later in the section, “How Assemblies Get Loaded at Runtime,” there are different places where the CLR looks for a referenced assembly, one of which is the current folder. Both weak- and strong-named assemblies can be deployed privately, but only strong-named assemblies can go in the GAC.

Inspecting the GAC

A good starting point for our exploration ...

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