ILasm .exe | MSIL Assembler |
ilasm [ options ] file1 [[ options ] file2 ...]
Creates MSIL modules and assemblies directly from an MSIL textual representation. See IL Debugging elsewhere in this chapter for an example that uses ILasm.exe .
Displays usage information and exits.
Specifies a value for File Alignment in the NT Optional Header. Overrides the MSIL .alignment directive.
Specifies a value for ImageBase in the NT Optional Header. Overrides the MSIL .imagebase directive.
Reports on how long the assembly takes.
Includes debugging information in the output file.
Assembles source file to a DLL.
Assembles source file to an executable file (the default).
Sets ImageFlags in the CLR header. Overrides the MSIL .corflags directive.
Specifies the name of the file that contains the key or key-pair with which to sign the assembly. You can generate a key file with the sn utility.
Specifies a key container that contains the key-pair with which to sign the assembly. You can add keys to a container using sn -i .
Emits a listing to the console as the file is assembled .
Suppresses display of the banner and copyright messages.
Specifies the output filename.
Suppresses display of assembly progress to console.
Specifies a Win32 resource ( .res ) file to include in the generated assembly.
Specifies a value for the subsystem in the NT Optional Header. Overrides the MSIL .subsystem directive.
Csc.exe , ILDasm.exe