Compile Console App as 32 bit

2019-02-23 13:05发布

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?

2条回答
对你真心纯属浪费
2楼-- · 2019-02-23 13:23

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.

enter image description here

查看更多
祖国的老花朵
3楼-- · 2019-02-23 13:41

The target platforms are called "X64" and "X86", where "X86" is 32bit.

查看更多
登录 后发表回答