Shared Assemblies and Strongly Named Assemblies(Chapter 3 of CLR via C#)
2011-04-21 08:28
609 查看
If an assembly is to be accessed by multiple applications, the assembly must be placed into a well-known directory, and the CLR must know to look in this directory automatically when a reference to the assembly is detected. This well-known location is called the global assemblycache (GAC), which can usually be found in the following directory (assuming that Windows is installed in the C:\Windows directory): C:\Windows\Assembly The GAC directory is structured: It contains many subdirectories, and an algorithm is used to generate the names of these subdirectories. You should never manually copy assembly files into the GAC; instead, you should use tools to accomplish this task. These tools know the GAC’s internal structure and how to generate the proper subdirectory names.
相关文章推荐
- CLR Via C# 3rd 阅读摘要 -- Chapter 3 - Shared Assemblies and Strongly Named Assemblies
- .NET:CLR via C# Shared Assemblies and Strongly Named Assemblies
- Primitive, Reference, and Value Types(Chapter 5 of CLR via C#)
- Type and Member Basics(Chapter 6 of CLR via C#)
- Constants and Fields(Chapter 7 of CLR via C#)
- Building, Packaging, Deploying, and Administering Applications and Types(Chapter 2 of CLR via C#)
- Chapter 3 Shared Assemblies and Strongly Named Assemblies
- CLR Via C# 3rd 阅读摘要 -- Chapter 2 - Building, Packaging, Deploying, and Administering Applications and Types
- CLR Via C# 3rd 阅读摘要 -- Chapter 23 – Assembly Loading and Reflection
- CLR Via C# 3rd 阅读摘要 -- Chapter 20 – Exceptions and State Management
- CLR Via C# 3rd 阅读摘要 -- Chapter 22 – CLR Hosting and AppDomains
- Shared Assemblies and strongly named Assemblies
- CLR Via C# 3rd 阅读摘要 -- Chapter 15 - Enumerated Types and Bit Flags
- CLR Via C# 3rd 阅读摘要 -- Chapter 14 - Chars, Strings, and Working with Text
- CLR Via C# 3rd 阅读摘要 -- Chapter 6 - Type and Member Basics
- The CLR’s Execution Model(Chapter 1 of CLR via C#)
- CLR Via C# 3rd 阅读摘要 -- Chapter 7 - Constants and Fileds
- Type Fundamentals(Chapter 4 of CLR via C#)
- CLR Via C# 3rd 阅读摘要 -- Chapter 5 - Primitive, Reference, and Value Types
- CLR Via C# 3rd 阅读摘要 -- Chapter 29 – Hybrid Thread Synchronization Constructs