Windows 在本地部署 IoT 应用程序时出现应用程序激活错误

Windows IoT app deployment locally gives app activation error

我正尝试着手开发 Windows IoT Core 的应用程序。我已经创建了一个后台任务项目并添加了一些代码,但是当我尝试在本地部署时(Windows 10 10547 并激活了开发人员选项)我收到错误消息:

Unable to activate Windows Store app 'prenresearch-uwp_1bs3s1m4g92em!App'. The activation request failed with error 'There are no more endpoints available from the endpoint mapper'.

有没有人以前经历过?

此致

Windows IoT 核心后台应用程序仅为 IoT 应用程序。 它们只能在 Windows IoT Core 上 运行。它们旨在取代服务,因为在 Windows IoT Core 上一次只有一个应用程序可以 运行(全屏)。

如果您想要一个 运行 无处不在(桌面、移动、物联网、xbox...)的应用程序,您唯一的选择是通用部分的空白应用程序模板。

默认情况下,应用程序将 运行 在本地计算机上。不要忘记将 select "remote machine" 作为调试目标,让 Visual studio 在物联网板上部署和启动应用程序。

如果 Visual Studio 没有自动检测到 IOT 设备,您可以使用 WindowsIotCoreWatcher 应用程序获取它的 IP 地址。