I can no longer deploy my app to windows IoT for debugging (Raspberry Pi 3) using Visual Studio 2015. Yesterday everything was OK, today I get the error:
DEP6956 : Failed to establish connection to the device due to protocol incompatibility. Please try again, and if this error persists, please try restarting the target device. Device supports protocol 'Sirep2'.
I've tried setting the endpoint to both the IP address and the device name. I'm using the latest insider preview version of windows IoT.
I can still connect to the device using the App Manager in a browser, and also using IoT dashboard.
Any idea what could be causing this?
I've had issues with this as well if I've disconnected or restarted the Pi while Visual Studio has remained open. As a best practice I'd suggest always starting or restarting Visual Studio after every Pi restart. To further clarify this only seems to affect an instance of Visual Studio that was previously connected to the device or previously involved in a remote deployment. Other instances of VS should be fine.
This is of course time consuming and shouldn't need to happen but avoids the deployment errors mentioned above.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With