Figure 15-1. Compiling *.il files using ilasm.exe Figure (Free web design)
Saturday, January 12th, 2008Figure 15-1. Compiling *.il files using ilasm.exe Figure 15-2. The result of the round-trip At this point, you can run your new application. Sure enough, rather than pumping a message to the Console window, you will now see a message box displaying your message (see Figure 15-2). CHAPTER 15 UNDERSTANDING CIL AND THE 486 THE ROLE OF DYNAMIC ASSEMBLIES Compiling CIL Code Using SharpDevelop When working with *.il files, you may wish to make use of the freely available SharpDevelop IDE (see Chapter 2). When you create a new combine (via the File .New Combine menu option), one of your choices is to create a CIL project workspace. While SharpDevelop does not have IntelliSense support for CIL projects, CIL tokens are color-coded, and you are able to compile and run your application directly within the IDE (rather than running ilasm.exe from a command prompt). Compiling CIL Code Using ILIDE# If you re truly interested in experimenting with the CIL programming language, I also recommend downloading the latest version of a free open source CIL editor named ILIDE#. This tool, like SharpDevelop, provides color-coding, ilasm.exe integration, and various related tools. Unlike SharpDevelop, the latest version of ILIDE# now supports CIL IntelliSense! You can download ILIDE# from http://ilide.aspfreeserver.com/default-en.aspx (of course, this URL is subject to change). Figure 15-3 shows ILIDE# in action.
Searching for affordable and reliable webhost to host and run your web applications? Go to our java web server services and you will be pleased.