Microsoft. NET Framework programming learning notes (2): differences between weak naming assembly and strong naming assembly

Source: Internet
Author: User

Weak namingProgramDifference between set and strongly-named assembly:

  1. Assembly deployment:
    Weak naming Assembly can only be deployed in private mode, that is, it can only be deployed in the basic directory and subdirectory of the application;
    A strongly-named assembly can be either private or global.
  2. Assembly positioning:
    A weak-name assembly can embed version numbers and language-cultural features in its configuration metadata. However, CLR always ignores the version number and uses only the Assembly name for locating, the Language and Culture Information is used only when a satellite assembly is searched for in a subdirectory.
    A strongly-named Assembly contains four unique identity Assembly features: File Name (excluding the extension), version number, Language and Culture identifier, and a Public Key Identifier (a value generated by a public key ). Only when these four features are completely matched can the positioning be successful.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.