home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / dotNETSDK / SETUP.EXE / netfxsd1.cab / Readme_htm_32________.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Encoding:
Extensible Markup Language  |  2003-03-28  |  4.8 KB  |  66 lines

  1. ∩╗┐<?xml version="1.0" encoding="utf-8"?><root xmlns:dt="urn:schemas-microsoft-com:datatypes" xmlns:d2="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"><?xml-stylesheet type="text/xsl" href="..\..\readme.xsl"?><HTML><HEAD><TITLE>Microsoft Intermediate Language Sample</TITLE><STYLE>
  2.     .Title{FONT-FAMILY: Verdana;FONT-SIZE: large;COLOR: #808080}
  3.     </STYLE><STYLE>
  4.     .Heading{FONT-FAMILY: Verdana;FONT-SIZE: large}
  5.     </STYLE><STYLE>
  6.     .SectionBreak{FONT-SIZE: small;MARGIN-BOTTOM: 2em}
  7.     </STYLE><STYLE>
  8.     .SmallBreak{FONT-SIZE: small;MARGIN-BOTTOM: 1.5em}
  9.     </STYLE><STYLE>
  10.     .Text{FONT-FAMILY: Verdana;FONT-SIZE: x-small}
  11.     </STYLE><STYLE>
  12.     .FixedHeading{FONT-FAMILY: Verdana;FONT-SIZE: x-small}
  13.     </STYLE><STYLE>
  14.     .FixedText{MARGIN-LEFT: 3ex;FONT-FAMILY: Lucida Console;FONT-SIZE: x-small;FONT-WEIGHT: Bold}
  15.     </STYLE><STYLE>
  16.     .ListSansBullets {list-style-type: none;FONT-FAMILY: Verdana;FONT-SIZE: x-small}
  17.     </STYLE></HEAD><BODY><table><tr><td><h2 class="Title">Microsoft Intermediate Language Sample</h2></td><td valign="baseline" class="Text">
  18.             ┬á┬á┬á
  19.               
  20.                   (Console Application)
  21.                 </td></tr></table><p class="Text">
  22.     This document contains the release information for the .NET Framework MSIL sample. You will find the following sections below: 
  23.     </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" />
  24.     Overview
  25.     </h4><p class="Text">
  26. 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.
  27. </p><p class="SectionBreak" /><p class="SectionBreak" /><h4 class="Heading"><a name="_Location_of_Sample" />
  28.     Location
  29.     </h4><p class="Text">
  30.     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.
  31.     </p><p class="FixedHeading">
  32.     For Example:
  33.       <p class="FixedText">
  34.       C:\Program Files\Microsoft.NET\SDK\v1.1\Samples\Technologies\IL</p></p><p class="SectionBreak" /><h4 class="Heading"><a name="_Building_the_Sample" />
  35.     Building the Sample
  36.     </h4><p class="Text">
  37.     In order to properly build and run this sample, the following steps need to be performed.
  38.     </p><p class="Text">
  39.       Type <b>BUILD.bat</b> from the command line.<p class="FixedHeading">
  40.   For Example:
  41.   </p><p class="FixedText">
  42.          C:\Program Files\Microsoft.NET\SDK\v1.1\Samples\Technologies\IL>Build.bat
  43.       </p></p><p class="SectionBreak" /><h4 class="Heading"><a name="_Running_the_Sample" />
  44.     Running the Sample
  45.     </h4><p class="Text">
  46.     In order to run this sample, follow the instructions listed below.
  47.     </p><span class="Text"><ul class="Text"><li>
  48.       Type <b>Roundtrip.bat [FileName]</b> from the command line, where [FileName] is the name of a managed executable.<p class="FixedHeading">
  49.   For Example:
  50.   </p><p class="FixedText">
  51.          C:\Program Files\Microsoft.NET\SDK\v1.1\Samples\Technologies\IL>RoundTrip.bat Simple.exe
  52.       </p><p class="FixedHeading">
  53.   For Example:
  54.   </p><p class="FixedText">
  55.          C:\Program Files\Microsoft.NET\SDK\v1.1\Samples\Technologies\IL>RoundTrip.bat ..\Threading\JoinThread\CS\JoinThread.exe
  56.       </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>
  57.       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.
  58.    </li></ul></span><p class="SectionBreak" /><h4 class="Heading"><a name="_sdkvars" />
  59.     Notes
  60.     </h4><p class="Text">
  61.     For the .Net Framework samples to function properly, your Path, Include, and Lib environment variables must be set correctly. 
  62.     In many cases, the SDK install program updates these environment variables for you. However, if you installed the .Net Framework SDK 
  63.     using Visual Studio .NET, or unselected "register environment variables" during setup, these environment variables will not be updated. 
  64.     You can set the Path, Include and Lib environment variables by running SDKVars.bat, located in the <i><SDKRoot>\Bin</i> directory. 
  65.     SDKVars.bat must be executed in every command shell.
  66.     </p></BODY></HTML></root>