windowsiotwindows-iot-core-10

Visual Studio 2017 fails to deploy UWP apps to IoT device


Visual Studio (VS 2017) has started failing to deploy to my IoT device ... I recently started using a more recent version of Windows 10 IoT Core (upgraded from build 17134 to insider build 17692) and Visual Studio can no longer deploy UWP apps.

The reported error is:

DEP6957: Failed to connect to device [IP Address] using Universal Authentication. Please verify the correct remote authentication mode is specified in the project debug settings. COMException - Exception from HRESULT: 0x801C0003

The IP address is valid and VS can see the device.


Solution

  • This seems to be an error reflecting a mismatch between the Windows SDK installed on the Visual Studio machine and the OS version on the IoT device.

    For recent versions of Windows 10 IoT Core (I'm using the insider images that you can install through the Windows IoT Dashboard), a recent version of the Windows SDK (I used Windows 10 SDK 1803) must be installed on your deployment machine.