Nickal
Nickal

Reputation: 737

Configuring target platform for my Visual Studio C++ project

I have a visual studio solution with three projects. I want to configure them all for x64 (as I have a X64 machine). I have created the x64 configuration as you can see in the following image.

configuration page

The x64 configuration can be applied to the first and the third project. It lists in the drop-down box like shown in the following image.

drop-down has x64

The project in the center is dependent on the project on top and below it, both. But, this project alone does not show x64 in the drop down. Here is the image:

enter image description here

Can anyone tell me what is the problem and how to solve it...

Upvotes: 1

Views: 292

Answers (2)

Nickal
Nickal

Reputation: 737

I found out my problem. I had created the configuration X64 from one of the projects. I had to delete the configuration from the other projects and create it again in the other project and only then, it allowed me to set the configuration for that project. When this deleting and re-creating the configuration was done for each project, it worked fine. If only the properties of one project did not show the configuration created in other projects, or if showing, it had allowed to set that configuration to other projects too, then the problem would not have come. I think this is a bug in visual studio.

Upvotes: 1

Humam Helfawi
Humam Helfawi

Reputation: 20264

Click on <new> and add X64 and choose to copy its settings from Win32 then change the settings that you want by yourself.

Upvotes: 2

Related Questions