Firman Zulkarnain
Firman Zulkarnain

Reputation: 51

Cannot deploy UWP app to raspberry pi from VS2017

ok so i have the same problem as this guy, im trying to deploy an UWP app with VS2017 15.5.4 to Raspberry pi 3 using my PC but getting this error:

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 ==========

HOWEVER, my laptop can deploy easily to my pi without error....

ps. this issue started 2 days ago when i tried reinstalling my VS on PC, i have no issue like this before that

Upvotes: 0

Views: 917

Answers (1)

Firman Zulkarnain
Firman Zulkarnain

Reputation: 51

This issue is now resolved, here's what i do:

  • Uninstall old 16299 SDK and download new 16299 SDK
  • Repair VS from VSInstaller
  • run sfc /scannow, there's some corrupted system files but now is restored.

Thank you Fabian for your help

Upvotes: 1

Related Questions