What is assembly )?
Assembly, which is translated as an accessory here to distinguish it from the Component. If you think it is inappropriate, please correct me!
An accessory sometimes refers to an EXE or DLL file. It is actually an application (a module with a main program entry point) or a library file. however, accessories can actually be composed of one or more files (dlls, exes, html, and so on), representing a group of resources and a set of Type Definitions and implementations. an accessory can also contain references to other accessories. all these resources, types, and references are described in a list (manifest. This manifest is also part of the accessory, so the accessory is self-described and does not need to be described by other additional parts!
Another important feature of accessories is that they are part of the type identifiers in the. Net environment. They can also be said to be the basic unit. Because, to distinguish a type of identifier is to include this type of accessory name plus the type name itself. For example, accessory A defines the type T, and accessory B also defines the type T with the same name, but. Net considers the two types as different types.
Note: Do not confuse assembly with namespace. In fact, namespace is only used to organize type names in the form of trees. For the running environment, the type name is the type name, which has nothing to do with the namespace.
Remember that the accessory name and type name uniquely identify a runtime type.
In addition, accessories are also the basic unit used by the. Net Framework for security policies. Many security policies are based on accessories.