Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 545
user3147424 Avatar asked Jan 03 '14 17:01

user3147424


People also ask

How do I enable 32 bit applications in IIS Express?

The 32 bit version can be found at c:\program files (x86)\IIS Express\iisexpress.exe and the 64 bit version can be found at c:\program files\IIS Express\iisexpress.exe . IIS Express ignores the enable32BitAppOnWin64 attribute. To run the app pool as 32 bit, you must execute the 32 bit version of IIS Express.

Does Visual Studio support 32 bit?

Is Visual Studio 2022 32bit? Developer Community Visual Studio 2022 only supports 64-bit data connections.

How do I change my Visual Studio from 32 bit to 64 bit?

From the BUILD menu in Visual Studio, select Configuration Manager. From the Active solution platform drop-down list, select New. The New Solution Platform dialog displays. In the Type or select new platform combination box, select x64.

What is x86 and x64 in Visual Studio?

The Win32 platform name is used for C++ projects, and it means x86. Visual Studio considers both project-level platforms and solution-level platforms, and the project platforms come from the language-specific project systems. C++ projects use Win32 and x64, but the solution platforms use x86 and x64.


1 Answers

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

like image 62
Odrai Avatar answered Sep 22 '22 17:09

Odrai