ILAsm

ILAsm (IL Assembler) generates a portable executable (PE) file from a text representation of Common Intermediate Language (CIL) code. It is not to be confused with NGEN (Native Image Generator), which compiles Common Intermediate Language code into native code as a .NET assembly is deployed.[1]

ILAsm is commonly used in low‑level .NET development scenarios, such as debugging, testing, or learning the inner workings of the Common Language Runtime. It allows developers to inspect and manipulate the intermediate language code directly, which can be useful for performance tuning, manual optimization, or injecting custom metadata.[2]

ILAsm supports generating both console applications and class libraries, allowing developers to specify metadata, define assembly references, and set entry points for managed code. It can also produce debug information compatible with the Visual Studio debugger, which enables step‑through debugging at the IL level. These features make ILAsm a valuable tool for learning, testing compiler output, or performing low‑level modifications to .NET assemblies.[3]

## See also

* .NET Framework
* Common Language Runtime
* Common Intermediate Language
* Native Image Generator

## References

1. ↑ "Ilasm.exe (MSIL Assembler)". Microsoft. http://msdn.microsoft.com/en-us/library/496e4ekx(v=VS.100).aspx.
2. ↑ gewarren. "Ilasm.exe (IL Assembler) - .NET Framework" (in en-us). https://learn.microsoft.com/en-us/dotnet/framework/tools/ilasm-exe-il-assembler.
3. ↑ "ilasm(1) — mono-devel — Debian unstable — Debian Manpages". https://manpages.debian.org/unstable/mono-devel/ilasm.1.en.html.gz.

## External links

| Wikibooks has a book on the topic of: .NET Development Foundation

|

* Ilasm.exe (MSIL Assembler) on MSDN
* Ngen.exe (Native Image Generator) on MSDN

* v
* t
* e

.NET Framework

* Version history
* .NET strategy

Architecture|

* Common Language Runtime (CLR)
* COM Interop
* Framework Class Library (FCL)

Components|

* ADO.NET
* Entity Framework
* ASP.NET
* Web Forms
* AJAX
* Core
* Dynamic Data
* MVC
* Razor
* ClickOnce
* Dynamic Language Runtime
* Extensible Application Markup Language (XAML)
* Language Integrated Query (LINQ)
* Managed Extensibility Framework
* Microsoft Silverlight
* Microsoft XNA
* Parallel Extensions
* Windows Communication Foundation (WCF)
* WCF Data Services
* Windows Forms (WinForms)
* Windows Identity Foundation (WIF)
* Windows Presentation Foundation (WPF)
* Windows Workflow Foundation (WF)
* .NET Remoting

Tools|

| Decompilers|

* .NET Reflector
* dotPeek

|

Obfuscators|

* Dotfuscator
* SmartAssembly
* CodeArmor

Misc|

* CLR Profiler
* ILAsm
* .NET Compiler Platform
* Native Image Generator (NGen)
* XAMLPad

IDEs|

* Visual Studio
* Blend
* Express
* MonoDevelop
* SharpDevelop
* Xamarin Studio

Organizations|

* .NET Foundation
* Microsoft
* Xamarin

* Category
* List

* v
* t
* e

Microsoft development tools

Development
environments|

| Visual Studio|

* Code
* Azure DevOps
* Express
* Team System Profiler
* Test Professional
* Tools for Applications
* Tools for Office

|

Others|

* .NET Compiler Platform
* App Studio
* Blend
* Expression Web
* GW-BASIC
* Microsoft Pascal
* MSBuild
* Robotics Developer Studio
* SharePoint Designer
* FrontPage
* PowerShell ISE
* QuickBASIC
* QBasic
* QuickC
* Small Basic
* WebMatrix
* Windows SDK
* CLR Profiler
* ILAsm
* Native Image Generator
* XAMLPad

Languages|

* Microsoft Basic
* Visual Basic
* Visual Basic .NET
* Visual C++
* C++/CX
* C++/CLI
* Managed C++
* C#
* Dafny
* F#
* F*
* J#
* J++
* Visual FoxPro
* IronPython
* IronRuby
* JScript
* PowerShell
* Q#
* Small Basic
* TypeScript
* VBA
* VBScript
* XAML

Major APIs and
frameworks
(see all)|

* Windows API
* Silverlight
* XNA
* DirectX
* Managed DirectX
* Xbox Development Kit
* Windows Installer

.NET Framework|

* ASP.NET
* Core
* AJAX
* Dynamic Data
* MVC
* Razor
* Web Forms
* ADO.NET
* Entity Framework
* CardSpace
* Communication Foundation
* Identity Foundation
* LINQ
* Presentation Foundation
* Workflow Foundation

Device drivers|

* WDK
* WDF
* KMDF
* UMDF
* Windows HLK
* WDM

Database|

| SQL Server|

* Express
* Compact
* Management Studio
* Business Intelligence Development Studio
* MSDE

|

SQL services|

* Analysis
* Reporting
* Integration
* Notification

Other|

* Visual FoxPro
* Microsoft Access
* Jet Engine
* Extensible Storage Engine

Source control|

* Visual SourceSafe
* Team Foundation Version Control

Delivery|

* Active Setup
* ClickOnce
* NuGet
* vcpkg
* Web Platform
* Windows Installer
* WiX
* Microsoft Store

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/ILAsm. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=ILAsm&oldid=4231332"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template