| Understanding .Net Assemblies and References - The GAC |
|
Page 4 of 5 The GACIf an assembly of that name had not already been loaded and if it is strongly named, the runtime will check the GAC for the assembly. If found it will be loaded from the GAC. The GAC is only for strongly named assemblies and is structured in such a way as to not rely on filenames. Many different versions of the same assembly (same filename) can coexist happily in the GAC. The actual physical location of the files in the GAC is in %windir%\assembly (for example, c:\windows\assembly). With version 2.0 of the .Net framework, the GAC was extended to support different processor architectures. From a command window, you can browse the various processor architecture versions of the GAC, which are organized first by the architecture directory (listed below), then name, and finally version with a key token. The GAC in %windir%\assembly is organized like this:
That said, it's not advisable to poke around in the GAC because its implemention could change over time. In fact, you can only browse the GAC from a command window because if Windows Explorer recognizes that it's been pointed to the GAC, it will show you the GAC interface GUI instead of the typical file browser. |
||||||||
| Last Updated ( Saturday, 26 July 2008 20:32 ) | ||||||||
