我在一台x86 PC上工作,在VS2010中使用.NET4.0(与3.5问题相同).当我创建一个新项目(例如WinFormsApp)时,我想做的第一件事是将项目/解决方案的目标平台更改为"任何CPU".
我做了以下工作:
Project Properties -> build -> change TargetPlatform to "Any CPU"
在属性页面的顶部,平台仍然处于"活动(x86)",我也是
Solution Properties -> ConfigurationsMgr -> Platform -> new (since nothing but x86 is available) and create the solution platform "Any CPU".
现在项目属性是"活动的(任何CPU)",我可以随心所欲地来回更改它.
And now the Problem: When I add a new Project, it is again set to "Active (x86)" and I -again - can't change the project settings. In the SolutionProperties -> ConfigurationManager 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...
我做错了什么?将新创建的项目设置为AnyCPU会这么难吗?