hi
Any one can tell me how many types and what are the components of assembly in .net..?
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
VulpesRank #55 · 29.2K reputationPosted May 16, 2011, 5:38 AM EDT
However, it is possible for an assembly to consist of multiple modules in which case one of the modules is designated as the 'main module' and contains the manifest for the assembly as a whole. The additional modules contain the CIL, metadata or resources for the assembly.
Visual Studio doesn't support multi-module assemblies but you can create them using the command line compiler and a tool known as the assembly linker (al.exe).
This would be useful if, for example, you wanted to combine modules written in C# and VB.Net into a single assembly.
Posted May 15, 2011, 9:51 PM EDT
Components are packaged in assemblies. Assemblies are the reusable, versionable, self-describing building blocks of .NET applications. The simplest assembly is a single executable that contains all the information necessary for deployment and versioning.
The metadata describing an assembly is called the manifest. In the most general case, an assembly can consist of a number of executable files and resource files. In that case, the manifest may be a separate file, or it may be included in one of the executable files. Assemblies enable the common language runtime to locate and securely execute code. In particular, the runtime uses assemblies for the following purposes:
- Establishing security and version identity for code.
- Providing a scope for class and type resolution.
- Locating classes to load.
Please refer this linkshttp://visualbasic.about.com/od/usingvbnet/a/asmnet01_2.htm
http://msdn.microsoft.com/en-us/library/01dx6zs7%28v=vs.71%29.aspx
Smart LuckyRank #2,625 · 531 reputationPosted May 15, 2011, 10:19 PM EDT