Reputation: 4190
I have a HUGE solution in VS2010. there are about 60 projects (class libraries at most and 3rd party dependencies I need to install) and more than 60 projects of setup project type.
Of course, I want to be able to compile the solution to both platforms - x64 and x86
My question is: is there a simple way to do so? Like, its not reasonable to go through each project properties each time and switch between x64 and x86.
I have classic solution - split to 2 solutions, one for x64 and another for x86.
The way I was thinking about, is to have like a master project in the solution, and all other project depended on its configuration - so if the project is set to x64 all of the solution will compile as x64 and the other way around.
Upvotes: 6
Views: 849
Reputation: 6076
You shouldn't have to go through each project and change the project properties each time. Have you tried changing the active solution platform via Configuration Manager? That should change all projects in the solution.
You may also want to look into what the x86/x64/AnyCPU platform target does for you. Unless you have specific needs, AnyCPU will likely be the target that you want.
Upvotes: 1