visual studio - What does an executable compiled using C# have? -


as far understanding is,

  1. any code written using c# or f# or vb.net, compiled respective compilers in visual studio il code.

  2. so, .net framework runtime (clr) installed in client's machine use il code convert machine code , run program.

the question is, exe contain ? il , headers ?

in .net world, basic units of deployment called assemblies, .exe extension in case of application, or .dll extension in case of library.

in short, assembly contains 4 types of things:

  1. an assembly manifest provides information .net runtime, such assembly’s name, version, requested permissions, , other assemblies references.
  2. an application manifest provides information operating system, such how assembly should deployed , whether administrative elevation required.
  3. compiled types: compiled il code , metadata of types defined within assembly.
  4. and resources: other data embedded within assembly, such images , localizable text.

of above four, assembly manifest mandatory.


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -