Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is the difference between an ordinary exe file and the exe file generated from .net windows applications

Tags:

.net

what is the difference between an ordinary exe file and the exe file generated from .net windows applications.

like image 455
Saravanan Avatar asked Mar 30 '11 12:03

Saravanan


People also ask

What is the difference between the DLL and the exe in .NET framework?

Difference between exe and dll-1. EXE is an extension used for executable files while DLL is the extension for a dynamic link library. 2.An EXE file can be run independently while a DLL is used by other applications. 3.An EXE file defines an entry point while a DLL does not.

What's the difference between an EXE file?

The main difference between the two extensions is their purpose. EXE is used mainly to indicate that the file is an executable one. In comparison, MSI indicates that the file is a Windows installer. While an MSI is used only with installers, this is not the case with EXE.

How many types of exe files are there?

You can create five different types of executable file: Callable shared objects. Intermediate code files. Generated code files.

Is exe and application same?

application is a manifest file containing details about the application to be deployed. Setup.exe is a setup launcher/bootstrapper provided by the framework. It reads manifest data in the clickonce source folder and effects the necessary changes on the clients machine to enable the app run.


1 Answers

EXE generated by .NET has a normal PE header but then has instructions to load MSCorEE.DLL. See my answer here.

Basically according to CLR via C# .NET EXE's Managed Module contains (in this order):

  • PE32 or PE32+ header
  • CLR header
  • Metadata
  • IL Code
like image 142
Aliostad Avatar answered Sep 19 '22 20:09

Aliostad