Книги автора: C# 2008 Programmer
Книга: C# 2008 Programmer
Structure of an Assembly
Structure of an Assembly
An assembly consists of the following four parts (see Figure 15-1).
Part | Description |
---|---|
Assembly metadata | Describes the assembly and its content |
Type metadata | Defines all the types and methods exported from the assembly |
IL code | Contains the MSIL code compiled by the compiler |
Resources | Contains icons, images, text strings, as well as other resources used by your application |
Figure 15-1
Physically, all four parts can reside in one physical file, or some parts of an assembly can be stored other modules. A module can contain type metadata and IL code, but it does not contain assembly metadata. Hence, a module cannot be deployed by itself; it must be combined with an assembly to be used. Figure 15-2 shows part of an assembly stored in two modules.
Figure 15-2
An assembly is the basic unit of installation. In this example, the assembly is made up of three files (one assembly and two modules). The two modules by themselves cannot be installed separately; they must accompany the assembly.
Похожие страницы
- 3.1.2 Beginning and Ending of a Program
- Examining the Content of an Assembly
- rc.firewall.txt script structure
- The structure
- Файл AssemblyInfo.cs в Visual Studio 2005
- Assembly language, the second generation language
- Structure of the shutdown File
- How Nameservers Store DNS Structure Information
- Perl Variables and Data Structures
- The Structure of a C# Program
- Physical Structure of the File System on the Disk
- Understanding the ext3 File System Structure