Detailed Assembly Structure

This section will discuss one tool and one set of APIs that help you manipulate and view the assembly structure. This tool is shipped with the SDK in \Program Files\Microsoft Visual Studio .NET\FrameworkSDK\bin. The tool is called ILDasm, and it is extremely useful. ILDasm has online help available under the Help menu. Documentation about the advanced features of ILDasm can be found in \Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Tool Developers Guide\docs.

To drill down into the structure of the assembly, you need to invoke ILDasm with the advanced option. Still looking at the simple HelloWorld.exe assembly, from a command prompt window, start up ILDasm as follows:

ILDasm /adv helloworld.exe

It's important ...

Get .NET Common Language Runtime Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.