问题
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