Reputation: 23
I installed the latest version of Windows IoT on a Raspberry Pi 3 and booted it up to deploy some Visual Basic code to it and I get an error that the Visual Studio Remote Debugger (msvsmon.exe) returns a null instead of an IP Address. Within the dashboard, there's a button to start the debugger, but it returns an error that the debugger must be copied over to the Pi before it can be started.
I can't deploy because it's not active and I can't start it because I haven't deployed anything yet.
How do I fix this catch 22?
Upvotes: 1
Views: 646
Reputation: 9700
I can reproduce your issue with a new flashed Windows IoT image. When I start the debugger via device portal the exact error message is:
Failed to start the Visual Studio Remote Debugger. The Remote Debugger needs to be copied to the device. This can be done by deploying an application to the device using Visual Studio.
So you can reference "Deploying an App with Visual Studio" tutorial to see if it helps. It works for me.
After deploying from Visual Studio successfully, you will start the debugger from device portal successfully. But no need to start debugger via device portal if you use visual studio debug/deploy.
Upvotes: 3