How to run a Windows 10 IOT app locally?

若如初见. 提交于 2019-12-06 03:44:28

问题


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.

  1. Download the Windows 10 ADK
  2. Install it
  3. Build a package
  4. 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 SystemUpdate & securityFor 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

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