</STYLE></HEAD><BODY><table><tr><td><h2 class="Title">Microsoft Intermediate Language Sample</h2></td><td valign="baseline" class="Text">
   
(Console Application)
</td></tr></table><p class="Text">
This document contains the release information for the .NET Framework MSIL sample. You will find the following sections below:
</p><ul class="Text"><li><a href="#_Sample_Overview">Overview</a></li><li><a href="#_Location_of_Sample">Location</a></li><li><a href="#_Building_the_Sample">Building the sample</a></li><li><a href="#_Running_the_Sample">Running the sample</a></li><li><a href="#_sdkvars">Notes</a></li></ul><p class="SectionBreak" /><h4 class="Heading"><a name="_Sample_Overview" />
Overview
</h4><p class="Text">
This sample demonstrates the use of ILDasm and ILAsm to "round-trip" an existing assembly. It is possible to run ILDasm on an existing managed executable to create compileable (and modifiable) MSIL. Then, ILAsm can be used to compile the MSIL source code.
This sample is located in the <a href="." title="Jump to Folder" target="_blank">Technologies\IL</a> subdirectory of the .NET Framework SDK samples directory.
</p><p>Note: It would be necessary to build the <i>JoinThread</i> sample first before attempting to execute the previous usage example.</p></li></ul><ul class="Text"><li>
Roundtrip.bat produces two files of interest: RTAsm.il which contains the generated MSIL source code, and RTExe.exe which is a new managed exe built from the RTAsm.il sources.