Question

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?

Was it helpful?

Solution

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

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top