我有一个任意的.NET程序集列表.
我需要以编程方式检查每个DLL是否是为x86构建的(而不是x64或任何CPU).这可能吗?
.net 64-bit x86 assemblies x86-64
在C#中是否有#define允许我在编译时知道我是在编译x86(Win32)还是x64(Win64)?
.net c# platform target c-preprocessor
.net ×2
64-bit ×1
assemblies ×1
c# ×1
c-preprocessor ×1
platform ×1
target ×1
x86 ×1
x86-64 ×1