简体   繁体   English

Visual Studio 2013中目标CPU和平台有什么区别?

[英]What's the difference between Target CPU and Platform in Visual Studio 2013?

In VS 2013, in Compile in Project Properties, I see two configurations that seem the relate to the same thing (printscreen right below). 在VS 2013中,在Project Properties中的Compile中,我看到两个看起来与同一事物有关的配置(右下方的printscreen)。 Platform and Target CPU. 平台和目标CPU。

What's the difference? 有什么不同? Is there any? 有没有? 在此输入图像描述

By default the Platform strings are the same as the Target CPU or Mixed. 默认情况下,Platform字符串与Target CPU或Mixed相同。 However, since the Platform is a user configurable string you could give them any name or decouple them from the target CPU. 但是,由于Platform是用户可配置的字符串,您可以为它们指定任何名称或将它们与目标CPU分离。

I'd not recommend decoupling them, as it can be very confusing. 我不建议将它们分离,因为它可能非常令人困惑。

But as your screenshot shows it's possible to create a Solution Configuration or Project Configuration named AnyCPU, yet configure your project to to build x86. 但是,当您的屏幕截图显示可以创建名为AnyCPU的解决方案配置或项目配置时,还可以将项目配置为构建x86。 Confusing as hell, but possible. 令人困惑,但可能。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio“任何 CPU”目标是什么意思? - What does the Visual Studio "Any CPU" target mean? 在Visual Studio中,“目标框架”和高级构建设置“语言版本”之间有什么区别? - In Visual studio, what is the difference between 'target framework' and advanced build settings 'language version'? Visual Studio 中的调试和发布有什么区别? - What is the difference between Debug and Release in Visual Studio? Microsoft WebMatrix和Visual Studio有什么区别? - What is the difference between Microsoft WebMatrix and Visual Studio? 如何在visual studio 2013中设置“目标框架”? - How to set the “Target Framework” in visual studio 2013? 运行Visual Studio中托管的调试应用程序与直接运行它之间有什么区别? - What's the difference between running a debug app hosted in Visual Studio and running it directly? Visual Studio:“高级编译器设置”中的“目标CPU”设置。 它有什么作用? - Visual Studio: “Target CPU” setting in “Advanced Compiler Settings”. What does it do? Visual Studio Package和VSIX Project类型有什么区别? - What is the difference between Visual Studio Package and VSIX Project types? Visual Studio 2008中的Debug和Debug 1.0有什么区别? - What is the difference between Debug and Debug 1.0 within Visual Studio 2008? Visual Studio 2015 中的共享项目和类库有什么区别? - What is the difference between a Shared Project and a Class Library in Visual Studio 2015?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM