Assembly Linker (AL.exe)

Source: Internet
Author: User
Tags visual studio 2010

AL.exe use a program to generate an EXE file or DLL PE file (which contains only a list of the types that are described in other modules).

Do not compile in a normal command-line window, first open C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Visual Studio 2010\visual Studio Tools path, under Visual Studio command Prompt (2010), enter the command in this window.

To give a simple example
Csc/t:module RUT.cs
Csc/t:module FUT.cs
Al/out:jefftypes.dll/t:library Fut.netmodule Rut.netmodule
Executes the file generated by the preceding statement.


This example first created two separate modules, namely Fut.netmodule and Rut.netmodule. None of the two modules are assemblies because they do not contain a manifest metadata table. It then generates a third file, JeffTypes.dll, which is a small DLL PE file (because the/t:library switch is used), which does not contain the IL code, but contains the manifest metadata table, which states that Fut.netmodule and Rut.netmodule is part of the assembly. The final assembly is comprised of three files: Jefftypes.dll,fut.netmodule,rut.netmodule. AL.exe cannot combine multiple files into one file.

Assembly Linker (AL.exe)

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.