Tips n Tracks

  • Increase font size
  • Default font size
  • Decrease font size
  • default color
  • black color

Reference

Sample image

Microsoft .NET Framework Get Details.

Sample image

Microsoft .NET Framework Get Details.

Reference

Sample image Microsoft .NET Framework Get Details.
Sample image

Microsoft .NET Framework Get Details.


Explain Microsoft intermediate language (MSIL) Assembler?


MSIL Assembler (Ilasm.exe) is a command line tool provides by .Net. The MSIL Assembler generates a portable executable (PE) file from MSIL assembly language. You can run the resulting executable, which contains MSIL and the required metadata, to determine whether the MSIL performs as expected.

Syntax
ilasm [options] filename [[options]filename…]
Parameters
filename The name of the .il source file. This file consists of metadata declaration directives and symbolic MSIL instructions.Multiple source file arguments can be supplied to produce a single PE file with Ilasm.exe.
options
/alignment=integer Sets FileAlignment to the value specified by integer in the NT Optional header.
/base=integer Sets ImageBase to the value specified by integer in the NT Optional header.
/clock Measures and reports the following compilation times in milliseconds for the specified .il source file
/debug Includes debug information.
/dll Specifies the name of the dll file that is generated as output.
/flags=integer Sets ImageFlags to the value specified by integer in the common language runtime header.
/key:keyFile Compiles filename with a strong signature using the private key contained in keyFile.
/key:@keySource Compiles filename with a strong signature using the private key produced at keySource.
/listing Produces a listing file on the standard output.
/nologo Suppresses the Microsoft startup banner display.
/output:file.ext Specifies the output file name and extension.
/quiet Specifies quiet mode; does not report assembly progress.
/resource:file.res Includes the specified resource file in *.res format in the resulting .exe or .dll file.
/subsystem=integer Sets subsystem to the value specified by integer in the NT Optional header.
/? Displays help at the command prompt.

Example:

ilasm TestFileName – produces the executable TestFileName.exe
or
ilasm myTestFile /dll – produces the executable TestFileName.dll

 

Chetan love blogging. He regularly blogs at http://www.tipsntracks.com. You can connect with Chetan on Twitter, Facebook and Google Plus...

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

No comments yet.

Leave a comment

(required)

(required)

*
To prove that you're not a bot, enter this code
Anti-Spam Image