错误DEP6200:引导失败。找不到设备。 SmartDeviceException-部署失败,因为未检测到设备 [英] Error DEP6200: Bootstrapping failed. Device cannot be found. SmartDeviceException - Deployment failed because no device was detected

查看:227
本文介绍了错误DEP6200:引导失败。找不到设备。 SmartDeviceException-部署失败,因为未检测到设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在这里看到的帖子中几乎没有关于相同错误的帖子,但没有一个对我有用。

I have seen few posts here about same error but none worked for me.

我正在尝试将VS2017中的UWP从一台机器部署到Surface机器上。 USB已连接到运行VS2017的计算机。

I am trying to deploy UWP from VS2017 from one machine to a Surface machine that is USB connected to the machine running VS2017.

两台计算机都运行Windows 10 Pro,17134(1803)April Update。

Both machines are running Windows 10 Pro, 17134 (1803) April Update.

表面机器已在面向开发人员设置中启用了开发人员模式,并已安装了开发人员模式程序包,并启用了远程桌面工具。它也通过USB连接到运行VS2017 Enterprise 15.7.5的计算机。

Surface machine has enabled Developer Mode in "For Developers" settings and Developer Mode package is installed on it and Remote tooling for desktop is enabled. It is also USB connected to the machine running VS2017 Enterprise 15.7.5

根据MS文档,这是部署到设备所需的全部。但是,部署失败,并显示错误

According to MS documentation, that is all what is needed to deploy to device. However, deploy fails with error

严重性代码说明项目文件行抑制状态
错误DEP6200:引导失败。找不到设备。 SmartDeviceException-部署失败,因为未检测到设备。确保已连接设备并打开电源。 [0x80131500] MyApp.App.UWP

推荐答案

我无法部署到设备或使用远程调试。

I was unable to deploy either to device or to use remote debugging.

部署到设备失败,并显示与上述相同的错误消息。有趣的是,即使设备(在本例中为Surface)根本没有通过USB连接到我的开发机,我也会遇到相同的错误,这基本上是有道理的。但是我不知道为什么在将Surface Tablet与我的开发机连接时会遇到同样的错误。

Deploying to device was failing with the same error message as above. Interestingly, even if device (Surface in this case) is not USB connected to my dev machine at all, I get same error which basically makes sense. But I dont know why I get that same error when I connect Surface tablet to my dev machine.

由于未连接Surface平板电脑,因此无法进行远程调试部署

Deploying for remote debugging did not work since my Surface tablet is not connected to same LAN as my dev machine.

因此,出于测试目的,我使用USB记忆棒进行部署

So, for my testing purposes, I deployed by using USB stick


  1. 右键单击UWP项目,选择存储,然后选择创建应用程序
    程序包...。

  2. 在创建应用程序包窗口中,选择我要创建用于
    侧面加载的软件包

  3. 单击创建

  4. 将本地计算机保留为目标设备进行验证

  5. 单击启动Windows App认证工具包按钮将其启动
    并逐步执行直到完成

  6. 打包完成后,我将整个文件夹复制到了闪存驱动器$ b中$ b并将文件夹的内容移动到我的Surface平板电脑上

  7. 然后在Surface平板电脑上,右键单击Add-AppDevPackage.ps1
    文件,然后选择运行此PowerShell
  8. 这将开始部署并部署应用程序

  1. Right click on UWP project, choose Store, then choose Create App Packages ....
  2. In Create App Packages window, select "I want to create packages for sideloading"
  3. Click Create
  4. Leave Local Machine as target device for validation
  5. click on Launch Windows App Certification Kit button to launch it and go through steps until complete
  6. Once package is completed, I copied entire folder onto a flash drive and moved the content of the folder to my Surface tablet
  7. Then on Surface tablet, right click on the Add-AppDevPackage.ps1 file and choose Run This PowerShell
  8. this will start deployment and deploy the app

这篇关于错误DEP6200:引导失败。找不到设备。 SmartDeviceException-部署失败,因为未检测到设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆