Yes, this is a very weak change in VS2010 and a bit of a mess. New solutions created in 2010 will have two configurations: "Debug | x86" and "Release | x86". This differs from the solutions created by previous versions, "Debug | Any CPU" and "Release | Any CPU" were standard.
When you add an existing project created in a previous version to this solution created by VS2010, you will get a nasty mixed package. The combination of platforms now shows three options: "x86", "Any processor" and "Mixed platforms". The latter will build all the projects. What is also very confusing is that the configuration name does not actually directly affect the setting of the Target Platform.
This fix, you can search and replace "Any processor" with "x86" in the .sln and .vcproj files using a text editor. The best approach, perhaps, is to get out of trouble and let VS2010 transform the VS2008 solution instead of creating a new one. Yucky problem.
source share