skm
skm

Reputation: 5659

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

Upvotes: 5

Views: 669

Answers (1)

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.

Upvotes: 1

Related Questions