32 and 64 bit versions of the same project
-
Is there any way I can configure Visual Studio 2019 so that when I build the solution, it automatically builds a 32 bit and a 64 bit version of the same native project at once? It's a pain to have to keep two different projects in sync to build two different executables.
The difficult we do right away... ...the impossible takes slightly longer.
-
Is there any way I can configure Visual Studio 2019 so that when I build the solution, it automatically builds a 32 bit and a 64 bit version of the same native project at once? It's a pain to have to keep two different projects in sync to build two different executables.
The difficult we do right away... ...the impossible takes slightly longer.
Only if you share resources with
Richard Andrew x32
;PSoftware rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
-
Is there any way I can configure Visual Studio 2019 so that when I build the solution, it automatically builds a 32 bit and a 64 bit version of the same native project at once? It's a pain to have to keep two different projects in sync to build two different executables.
The difficult we do right away... ...the impossible takes slightly longer.
You could always have VS build the x86 version and create a PostBuild event bat file and run the MSBuild command line to build the x64 version.
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
Dave Kreskowiak -
Is there any way I can configure Visual Studio 2019 so that when I build the solution, it automatically builds a 32 bit and a 64 bit version of the same native project at once? It's a pain to have to keep two different projects in sync to build two different executables.
The difficult we do right away... ...the impossible takes slightly longer.
You can use Batch Build: [How to: Build multiple configurations - Visual Studio | Microsoft Docs](https://docs.microsoft.com/en-us/visualstudio/ide/how-to-build-multiple-configurations-simultaneously?view=vs-2019)
-
You can use Batch Build: [How to: Build multiple configurations - Visual Studio | Microsoft Docs](https://docs.microsoft.com/en-us/visualstudio/ide/how-to-build-multiple-configurations-simultaneously?view=vs-2019)
Thank you Victor!
The difficult we do right away... ...the impossible takes slightly longer.
-
Is there any way I can configure Visual Studio 2019 so that when I build the solution, it automatically builds a 32 bit and a 64 bit version of the same native project at once? It's a pain to have to keep two different projects in sync to build two different executables.
The difficult we do right away... ...the impossible takes slightly longer.
I spend most of my development time using 64 bit Debug, but have to build both 32/64 and Debug/Release and test before I check in. I call MSBuild from a batch file to build everything. My dev environment is highly customized, and have a post build deployment script that runs and updates all 4 installations automagically to 4 different VMs that I have our products running on. At the end of each build, it triggers automated testing on each of those VMs.
-
Only if you share resources with
Richard Andrew x32
;PSoftware rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
:thumbsup:
-
:thumbsup:
you can check out here [Test} [^]