user3147424
user3147424

Reputation: 3682

Compile Console App as 32 bit

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?

Upvotes: 8

Views: 13807

Answers (2)

nvoigt
nvoigt

Reputation: 77334

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

Upvotes: 2

Odrai
Odrai

Reputation: 2353

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

Upvotes: 14

Related Questions