如何:引用具有强名称的程序集。
创建和使用具有强名称的程序集。
只对具有强名称的程序集执行版本检查。
只有具有强名称的程序集才可以放在全局程序集缓存中。
Only assemblies with strong names may be placed in the global assembly cache.
因此,具有强名称的程序集只能引用其他具有强名称的程序集。
Therefore, strong-named assemblies can only reference other strong-named assemblies.
运行时不检查在DEVPATH中找到的具有强名称的程序集的版本。
The runtime does not check the versions on strong-named assemblies found in the DEVPATH.
并行执行利用具有强名称的程序集将类型信息绑定到程序集的特定版本。
Side-by-side execution USES strong-named assemblies to bind type information to a specific version of an assembly.
对于具有强名称的程序集,绑定过程通过查找全局程序集缓存而继续执行。
For strong-named assemblies, the binding process continues by looking in the global assembly cache.
具有强名称的程序集还允许同一计算机上存在一个文件的多个版本,并且还允许应用程序使用一个文件的多个版本。
Strong-named assemblies also allow multiple versions of a file to exist on the same computer and to be used by applications.
开发强名称程序集时,每个引用具有强名称的目标程序集的程序集中都包含了用于为目标程序集指定强名称的公钥的标记。
When developing assemblies with strong names, each assembly that references the strong-named target assembly contains the token of the public key used to give the target assembly a strong name.
在全局程序集缓存中部署的程序集必须具有强名称。
Assemblies deployed in the global assembly cache must have a strong name.
未使用强式名称签署的组件、无法验证强式名称,或者不具有电脑上目前登录设定的强式名称便为无效。
An assembly is not signed with a strong name, the strong name could not be verified, or the strong name would not be valid without the current registry Settings of the computer.
全局程序集缓存中的所有程序集都必须具有强名称。
All assemblies in the global assembly cache must have strong names.
例如,一个使用权限代表组件必须具有的强式名称,另一个代表程序码必须从中发源的网站等等。
For example, one permission represents the strong name an assembly must have, another represents the Web site where the code must have originated, and so on.
例如,一个使用权限代表组件必须具有的强式名称,另一个代表程序码必须从中发源的网站等等。
For example, one permission represents the strong name an assembly must have, another represents the Web site where the code must have originated, and so on.
应用推荐