Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Build both 32 and 64 bit at the same time using Visual Studio

I have an application that works really well in 64 bit architectures, but not quite so well in 32 bit architectures. However, we want to be able to support both architectures.

I am aware of the "Any CPU" option, but we actually want two versions of the software that are explicitly 32 or 64 bit.

I can set the properties to 32 bit, build it, copy the files out of the bin/debug folder and then repeat with 64 bit, but this is a real bore every time we build the application and have to send out both versions to QA.

Is there a way that we can get Visual Studio to automatically build both 32 and 64 bit into two separate folders?

like image 399
Steven Wood Avatar asked Sep 02 '25 07:09

Steven Wood


1 Answers

You can use the BuildBatch Build option of Visual Studio:

Enter image description here

like image 135
Dark Knight Avatar answered Sep 04 '25 21:09

Dark Knight