[英]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。
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.