Create multiple configurations with a single solution configuration

As part of my software package, I need to create both a WIN32 and x64 version of the DLL. I have a project setup that creates all the necessary components and has a custom build step to build the installer. I cannot figure out how to have both versions of a DLL assembly with one build command. The configuration manager allows you to choose which project configuration to build for a given solution configuration, but not for multiple project configurations for the same project. I am using Visual Studio 2008

+4
source share
2 answers

I do not think that's possible. If you are using .net, compile the project for "Any processor." In your post-assembly, copy the dll and run CorFlags.exe / 32BIT + so that the copied dll starts the 32-bit version, while the original will run on x64 on the x64 OS.

+1
source

You can use vcbuild

0
source

Source: https://habr.com/ru/post/1286699/


All Articles