VS 2017 Community: Change target for existing project to ARM

妖精的绣舞 提交于 2019-12-11 05:02:12

问题


I'm trying to repackage an existing desktop app for Windows 10 IoT on ARM (Dragonboard 410c,specifically).

I've installed VS 2017 Community edition (15.9.6) and I have the source for the desktop version of this project, although I don't know much about it.

It currently targets x86 / x64 (both of which work fine), but an ARM option is not available.

Do I need to add some component to VS, or manually edit something to be able to compile for ARM?

When I set the Dragonboard as the Remote Target, I unsurprisingly get this error:

"Error DEP3308: Deployment target '192.168.1.119' does not support projects targetting X86 platform. Supported platforms: ARM."

Happy to provide more information as necessary.

Thanks, R


回答1:


You should change the platform to ARM in the project property debug tab page, and then change the target device as remote machine and authentication mode as universal.




回答2:


Is your application a desktop application or UWP application? I'm getting mixed signals about this from the question.

Compiling desktop applications for ARM isn't officially supported (only for ARM64), and for Windows 10 IoT, it must be an UWP application in any case.

Also, the ARM compilers aren't normally installed by default, so unless you manually checked those boxes when installing Visual Studio, you might not have it. You can rerun the installer to install the missing components.



来源:https://stackoverflow.com/questions/54529468/vs-2017-community-change-target-for-existing-project-to-arm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!