Adds the specified assembly reference to the collection.
将指定的组件参考加入集合中。
Finds an assembly reference in the collection by the specified assembly identity.
根据指定的程序集标识在集合中查找程序集引用。
Therefore, an assembly reference cannot be provided during the first markup compilation pass.
因此,在第一次标记编译中无法提供程序集引用。
The common language runtime performs a number of steps when attempting to locate an assembly and resolve an assembly reference.
在尝试定位程序集并解析程序集引用时,公共语言运行时将执行若干个步骤。
Determines the correct assembly from the original assembly reference and any redirection specified in the configuration files, and determines the version that should be bound to the calling assembly.
通过原程序集引用和配置文件中指定的任何重定向来确定正确的程序集,并且确定应绑定到调用程序集的版本。
For example, your code might work with version 1.6 of the assembly, but because of the partial assembly reference you might get a later version that has an incompatible change.
例如,您的程序码可以在1.6版的组件上执行,但是因为使用了部分组件参考,所以您可能会取得内含不相容变更的新版组件。
For example, your code might work with version 1.6 of the assembly, but because of the partial assembly reference you might get a later version that has an incompatible change.
例如,您的程序码可以在1.6版的组件上执行,但是因为使用了部分组件参考,所以您可能会取得内含不相容变更的新版组件。
应用推荐