MSIL or PE file

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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).
 
Back
Top