Search code examples
c#.netprocessx8632bit-64bit

Running a C# application as 32-bit on a 64-bit machine


How do I force my application to run as 32-bit on a 64-bit machine?

The code is written in C#.


Solution

  • Right click your project, and select properties.

    In properties, select the build tab. Under platform target, select x86.

    Hit Ctrl+Shift+S to save all files, right click the solution and select "Clean" to get rid of old binaries. Any builds after that should be 32 bit