可以使用 Visual Studio 2012 构建 ARM 桌面程序吗? [英] Can ARM desktop programs be built using visual studio 2012?
问题描述
我使用的是 Visual Studio 2012 测试版,我的桌面 (win32) 程序在 ARM 架构中编译得很好.
I was working with visual studio 2012 beta and my desktop (win32) program compiled fine in ARM architecture.
升级到visual studio 2012 RC后,编译器无法工作并出现以下错误:
After upgrading to visual studio 2012 RC, the compiler would not work and spews out the following error:
不支持为 ARM 平台编译桌面应用程序"
"Compiling Desktop applications for the ARM platform is not supported"
我发现了一个关于这个的论坛帖子http://connect.microsoft.com/VisualStudio/feedback/details/745580/arm-configuration-doesnt-work
I found a forum post on this http://connect.microsoft.com/VisualStudio/feedback/details/745580/arm-configuration-doesnt-work
微软真的切断了ARM上的win32开发是正确的吗?而在 VS2012 beta 中编译只是侥幸?
Is it correct that Microsoft is really cutting off win32 development on ARM? And that compiling in VS2012 beta was just a fluke?
推荐答案
您可以编辑文件:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Platforms\ARM\Microsoft.Cpp.ARM.Common.props
在
部分添加以下行:
In the <PropertyGroup>
section add the line:
<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>
仅此而已,您可以使用 VS2012 构建 ARM 桌面应用程序.
And that's all, you can build ARM desktop apps with VS2012.
这篇关于可以使用 Visual Studio 2012 构建 ARM 桌面程序吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!