问题
Is there a way to allow a normal Windows 10 installation to run Windows 10 IOT apps for debugging purposes? Right now when I set the architecture from ARM (Raspberry Pi 3) to x64 (Local machine) I get the following error message when I start a debug session:
I've read here that it's got something to do with 'embedded mode' but I can't find any information anywhere about it and the group policy does not appear to contain anything about enabling embedded mode...
Help is greatly appreciated! Thanks in advance!
回答1:
It turns out that in addition to applying the policy, you also have to start the "Embedded Mode" windows service:
After that, everything works flawlessly. Just make sure to change ARM to x64 or x86.
回答2:
In addition to enabling the Embedded mode service, and you find the service cannot be started manually, one will need to run a provisioned package on the OS other than Win IOT Core that will set AllowEmebeddedMode = 1.
- Download the Windows 10 ADK
- Install it
- Build a package
- Run the package
The embeddedMode service should run automatically.
More info here.
回答3:
I'm not sure what you mean with a Windows 10 IoT app if you don't mean an UWP app, and that should be able to run on your PC. Have you activated Developer Mode on your PC? If not, got to System → Update & security → For developers and choose Developer Mode. This will let you run all UWP apps, and not just those from the Windows Store.
来源:https://stackoverflow.com/questions/36283580/how-to-run-a-windows-10-iot-app-locally