Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 corflags 时 ILOnly=0 是否意味着程序集是使用 C++/CLI 构建的?
好吧,这几乎不是一个灌篮高手,那里有很多.NET兼容的编译器。能够在程序集中包含可重定位的机器代码有很多用途。但是,是的,如果您知道该程序集是使用 Microsoft 工具构建的,那么 C++/CLI 编译器就是可能的来源。他们提供的其他编译器只生成纯程序集。
有一种方法可以缩小范围,使用 ildasm.exe 或 Reflector 进行查看。如果你看到一个名为的类<CppImplementationDetails>,那么几率非常接近 100%。
<CppImplementationDetails>