home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / dotNETSDK / SETUP.EXE / netfxsd1.cab / ReadMe_xml_7________.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Encoding:
Extensible Markup Language  |  2002-06-20  |  1.8 KB  |  42 lines

  1. ∩╗┐<?xml version='1.0'?>
  2. <?xml-stylesheet type="text/xsl" href="..\..\readme.xsl"?>
  3.  
  4. <sample>
  5. <title>Microsoft Intermediate Language Sample</title>
  6. <title-short>MSIL</title-short>
  7. <overview>
  8. 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.
  9. </overview>
  10. <subdirectory>Technologies\IL</subdirectory>
  11. <buildsteps>
  12.    <step>
  13.       Type <richcontent bold="T">BUILD.bat</richcontent>
  14.       <richcontent> from the command line.</richcontent>      
  15.       <example>
  16.          C:\Program Files\Microsoft.NET\SDK\v1.1\Samples\Technologies\IL>Build.bat
  17.       </example>
  18.    </step>
  19. </buildsteps>
  20. <runsteps>
  21.    <step>
  22.       Type <richcontent bold="T">Roundtrip.bat [FileName]</richcontent><richcontent> from the command line, where [FileName] is the name of a managed executable.</richcontent>
  23.       <example>
  24.          C:\Program Files\Microsoft.NET\SDK\v1.1\Samples\Technologies\IL>RoundTrip.bat Simple.exe
  25.       </example>
  26.       <example>
  27.          C:\Program Files\Microsoft.NET\SDK\v1.1\Samples\Technologies\IL>RoundTrip.bat ..\Threading\JoinThread\CS\JoinThread.exe
  28.       </example>
  29.       <p>Note: It would be necessary to build the <i>JoinThread</i> sample first before attempting to execute the previous usage example.</p>
  30.    </step>   
  31.    <step>
  32.       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.
  33.    </step>   
  34. </runsteps>
  35. <keywords>
  36.    <word name="Intermediate Language" keyword="T"/>
  37.    <word name="ILDasm.exe" keyword="T"/>
  38.    <word name="IlAsm.exe" keyword="T"/>
  39. </keywords>
  40. </sample>
  41.  
  42.