MSIL or PE file

G

Guest

Hi all, I have managed to use ildasm to decompile my C++ and C# application executables and then dump that to a file. Am I to understand the contents of that IL file is the format of the MSIL code for those applications? Also, in my C# applications, I notice a
TempP

directory - is this where a file containing the MSIL data is written to before the executable is created? If so, is there a way to keep it resident on the disk (after the compilation process completes) so I can look at it

Lastly, why doesn't a similar file get generated for my C++ applications

Thanks
Novic

PS I'm using Microsoft Visual Studio .NET Professional
 
B

Bret Mulvey

Novice said:
Hi all, I have managed to use ildasm to decompile my C++ and C#
application executables and then dump that to a file. Am I to understand
the contents of that IL file is the format of the MSIL code for those
applications? Also, in my C# applications, I notice a:
TempPE

directory - is this where a file containing the MSIL data is written to
before the executable is created? If so, is there a way to keep it resident
on the disk (after the compilation process completes) so I can look at it?

Ildasm doesn't decompile--it disassembles. An .exe file of a C# program
contains IL byte codes (although see NGEN) and Ildasm converts those byte
codes back into IL assembly language. (A decompiler would convert the IL
back into C# or some other .NET language).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top