[CLR via C #] 1.2 merge managed modules into an assembly

Source: Internet
Author: User

1. CLR does not work with the hosting module. CLR worksAssemblyWork together.

 

2. AssemblyIs a logical group of one or more managed modules/resource files. 3. AssemblyIs the minimum unit for reuse, security, and version control. 4. AssemblyDepending on your choice of the compiler, you can produce single-file assembly or multi-file assembly. In CLR, an assembly is equivalent to a "component ". 5. Merge managed modules into assembly diagrams: The generated Assembly contains a data block named "maniest. A list is another collection composed of metadata. These tables describe the files that constitute the assembly.
6. By default, the compiler will actually convert the generated hosted model into an assembly. C # The Compiler generates a managed module containing the list. The list indicates that the Assembly consists of only one file. Therefore, if the project has only one managed module and there are no resources, data, and other files, the Assembly is the managed module, and the generation process does not require additional operations. If you merge a series of files into a program, you need to master more tools (such as the program set chain tool al.exe) and their command lines. 7. The Assembly module also contains information about the referenced assembly (including their version number ). This information allows the Assembly Self-description(Self-describing ). That is to say, CLR can determine what is the direct dependency object of the assembly to execute the code in the Assembly. Therefore, deployment is very convenient.

Related Article

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: info-contact@alibabacloud.com 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.