The Global Assembly Cache

The global assembly cache (GAC) provides a central repository for .NET .dll files that are shared across multiple applications. To support installation in the GAC, an assembly must be signed with a key pair to give it a strong name. Signing assemblies with a key pair ensures that if two assemblies with the same name are installed in the GAC, because they are different versions or were signed with different keys they will be treated as different assemblies.

Strong Naming Your Assemblies

Strong naming an assembly not only provides this unique versioning, it also provides authentication because to produce an assembly with a matching signature you must sign the assembly with the same key pair. To assign a strong name to your ...

Get Microsoft® Mobile Development Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.