将.Net程序编译为称为“程序集"的DLL或EXE文件类型.程序集是否包含机器可执行代码 [英] .Net programs are compiled to DLL or EXE file types called "assemblies." Do assemblies contain machine-executable code
问题描述
.Net程序被编译为称为程序集"的DLL或EXE文件类型.程序集是否包含机器可执行代码
.Net programs are compiled to DLL or EXE file types called "assemblies." Do assemblies contain machine-executable code
推荐答案
否,它们包含MSIL(*).Google,或阅读 MSDN中的概述.
No, they contain MSIL (*). Google for it, or read the overview in MSDN.
(*)除其他外,例如清单,Type元数据和资源.并且资源可以包含任何二进制数据,包括机器可执行代码.这很不寻常,但是确实存在一些程序集,这些程序集可以从嵌入在程序集中的资源中提取并运行一个非托管的DLL,其中包含机器可执行的代码.
(*) Among other things, such as a manifest, Type metadata and resources. And the resources can contain any binary data, including machine-executable code. It's unusual, but there do exist assemblies that extract and run a non-managed DLL, which contains machine-executable code, from a resource embedded in an assembly.
这篇关于将.Net程序编译为称为“程序集"的DLL或EXE文件类型.程序集是否包含机器可执行代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!