Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Compiling projects in different configurations in a multi-projects Visual Studio Solution

I have a visual studio solution containing multiple projects. Just to simplify the testing, I have created 2 sub-projects. I need to compile and run one sub-project in Win-32 configuration because it uses an external DLL (win-32 config) and another sub-project in x64.

How can I do that?

enter image description here

UPDATE-1: I already tried to set the configuration of both the projects as shown in the screenshot below. But as soon as I build the proect then both the projects are build in the configuration which is selected in the main window.

enter image description here

like image 838
skm Avatar asked Nov 07 '22 13:11

skm


1 Answers

Open the Configuration Manager (menu Build > Configuration manager). There, you can set the configuration and platform for individual projects for each solution configuration+platform pair.

like image 115
Angew is no longer proud of SO Avatar answered Nov 13 '22 06:11

Angew is no longer proud of SO