您的位置:首页 > 编程语言 > C#

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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: