问题
I have a Windows Console Application that I need to compile as 32 bit. It's written in C# and I have all the Visual Studio 2012 updates. I've tried following several things on here, but I'm never given an option for 32 bit. How can I compile it as 32 bit?
回答1:
With Visual Studio you are able to target what platform.
By default it will run on "Any CPU" (read 32 or 64 bit), but you can specify if you desire. Look under Project>Properties>Build and look for the "Platform Target" property.
回答2:
The target platforms are called "X64" and "X86", where "X86" is 32bit.
来源:https://stackoverflow.com/questions/20909067/compile-console-app-as-32-bit