I'm trying to deploy my UWP app to a Raspberry Pi 4 running Windows IoT Core. I built the app in Visual Studio, but when I try to deploy it, I get the error 0x80070422. Has anyone encountered this?
I'm trying to deploy my UWP app to a Raspberry Pi 4 running Windows IoT Core. I built the app in Visual Studio, but when I try to deploy it, I get the error 0x80070422. Has anyone encountered this?
The error usually means the Windows Device Portal service is disabled on the Pi. Open PowerShell as admin on the Pi and run:
Set-Service -Name "WDPService" -StartupType Automatic; Start-Service WDPService
Then try deploying again.
Thanks, Bob! Also make sure the Pi's firewall allows port 5678. I added a rule with:
netsh advfirewall firewall add rule name="IoT Deployment" dir=in action=allow protocol=TCP localport=5678
Works now.