【发布时间】:2018-06-27 11:44:00
【问题描述】:
好的,所以我遇到了与this guy 相同的问题,我尝试使用我的 PC 将带有 VS2017 15.5.4 的 UWP 应用程序部署到 Raspberry pi 3,但出现此错误:
1>------ Build started: Project: SerialSample, Configuration: Debug ARM ------
1>C:\Users\sco1o\OneDrive\Skripsi\Research\SerialUART\CS\MainPage.xaml.cs(220,42,220,45): warning CS0168: The variable 'tce' is declared but never used
1> SerialSample -> C:\Users\sco1o\OneDrive\Skripsi\Research\SerialUART\CS\bin\ARM\Debug\SerialSample.exe
2>------ Deploy started: Project: SerialSample, Configuration: Debug ARM ------
2>DEP6100: The following unexpected error occurred during bootstrapping stage 'Connecting to the device '192.168.1.10'.': FileNotFoundException - Could not load file or assembly 'Microsoft.Tools.Connectivity, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. [0x80070002]
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
我的目标版本是 16299 和最小 15063
我的电脑运行 Windows 10 Pro 16299
我的树莓派 build 16299.192,连接到 LAN 交换机,无法打开设备门户,ping 显示没有问题
试过关闭windows防火墙和防御者
选中在门户上启用 Windows IoT 远程服务器
尝试在门户上手动使用/不使用默认帐户启动/停止与远程调试器
尝试将目标远程机器地址框更改为192.168.1.10、192.168.1.10:8116、minwinpc、MINWINPC
尝试重装VS 3次,前2次使用cmd,最后一次使用vs安装程序
我尝试重启我的电脑和 pi 几次
尝试将 Universal auth 更改为 Windows 和 None,没有成功
尝试了 2 次重新安装 windows IoT 并在 pi 上更新它
但是,我的笔记本电脑可以轻松部署到我的 pi 上而不会出错....
ps。这个问题是两天前开始的,当时我尝试在 PC 上重新安装我的 VS,在此之前我没有这样的问题
【问题讨论】:
-
看起来是 Windows 10 SDK 的问题。确保已正确安装。也许重新安装它。
-
我尝试从应用程序和功能修复 16299 和 15063 SDK 但仍然没有运气...我现在从 this link 下载 16299 SDK
标签: visual-studio-2017 remote-debugging windows-10-iot-core