views:

77

answers:

1

Hey there. I work on a x86 pc and use .NET4.0 (same probelem witn 3.5) in VS2010. If i make a new Project (e.g. WinFormsApp), the first thing i want to do is to change the targetplatform of the project/solution to "Any CPU".

I do the following: Project Properties -> build -> change TargetPlatform to "Any CPU"

On top of the properties Page the platform is still "Active (x86)", so i do Solution Properties -> ConfigurationsMgr -> Platform -> new (since nothing but x86 is available) and create the solution platform "Any CPU".

Now the project properties are "Active (Any CPU)" and i can change it back and forth as i like.

And now the Problem: If i add a new Project, it is again set to "Active (x86)" and i -again- can't change the project settings. In the SolutionProps->ConfigMgr for this second project, the "Any CPU" platform is not available and i can't add a new one, since it tells me that a solution platform for AnyCPU is already there...

What am i doing wrong? Can it be so hard to set a newly created project to AnyCPU?? Thanx.

A: 

In the configuration Manager, you can add a new platform for your project. However, you need to uncheck the "Create new solution platforms" if you already added the platform for your solution, otherwise you will indeed get the warning that the solution platform is already there.

Rewinder
Don't quite understand why, but also don't quite understand why i didn't try that. However, thats the answer to my problem. But seriously, i should have never ever switched the language to german. Translations are horrible...