什么是.NET Windows应用程序生成一个普通的EXE文件和EXE文件之间的差异 [英] what is the difference between an ordinary exe file and the exe file generated from .net windows applications

查看:214
本文介绍了什么是.NET Windows应用程序生成一个普通的EXE文件和EXE文件之间的差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是一个普通的EXE文件,并从.NET Windows应用程序生成的exe文件之间的差异。

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

推荐答案

由.NET生成的EXE拥有的正常的PE头的但随后的指令来加载MSCorEE.dll中 。见我的回答<一href="http://stackoverflow.com/questions/5475646/why-is-an-assembly-exe-file/5475681#5475681">here.

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

基本上根据通过C#.NET EXE的托管模块 CLR 包含(本为了):

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

  • 在PE32或PE32 +头
  • 在CLR头
  • 在IL code

这篇关于什么是.NET Windows应用程序生成一个普通的EXE文件和EXE文件之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆