visual-studio-201032bit-64bit

Compilation on 64-bit system for 32 bit system - compatibility


i have a 64-bit machine with 64-bit OS...

how can i compile programs with Visual Studio 2010 so that they work on 32-bit system

if i install 32-bit OS on my 64-bit machine than i thinks it won't be a problem


Solution

  • If you are talking about .NET applications simply verify that you are targeting x86 in the properties of your project (this is the default setting) or Any CPU:

    enter image description here