Thanks Ben, Thanks Scott.
But, following is definition of Ilasm.exe
--
When you compile managed code, the compiler converts the source code to MSIL
code. MSIL is a CPU-independent language and its code can be converted to
native code. ***You can use the Ilasm tool, Ilasm.exe, to generate a portable
executable file from the MSIL code. *** You can then run the resulting
executable file to determine the performance of your application. This
enables you to generate the MSIL code and the metadata without emitting MSIL
in the portable executable file format. In addition, Ilasm.exe does not
create intermediate object files. It also does not have a linking stage to
generate a portable executable file.
--
***You can use the Ilasm tool, Ilasm.exe, to generate a portable executable
file from the MSIL code. ***
Considering this point, I think it generates a portable executable file (
??? different file ) from the MSIL code (Assembly ???)
Am I right? If right please I don’t understand what is PE and why it is used
then.
"Scott Allen" wrote:
> Hi Mahesh:
>
> PE is a file format.
>
> An assembly is the smallest unit of deployment for .NET applications
> and consist of one or more modules. These modules use the PE file
> format.
>
> --
> Scott
> http://www.OdeToCode.com/blogs/scott/
>
> On Sun, 1 May 2005 12:17:05 -0700, suresh_C#
> <> wrote:
>
> >Dear All,
> >
> >What is difference between Portable Executable (PE) file and a Assembly?
> >
> >Thanks,
> >Mahesh
> >
> >
>
>