Creating platform specific apps
Most of the language compilers (like C#) now offer a /platform switch. By using this switch, developers can create binaries targeted for a specific platform type or binaries that are platform agnostic. There are four types of binaries that are emitted
· anycpu – platform agnostic
· x86 – 32-bit platform specific
· x64 – x64 platform specific· itanium – IA platform specific
Please refer to Moving from 32-bit to 64-bit application development on .NET Framework.
How to view the corflags(ILONLY, 32BitRequired etc.) of a PE image?