I have a UWP app (from a Xamarin.Forms app) which debugs fine on the computer. But when I try to debug on a phone, I get the following error:
Unable to debug Windows Store app '....exe'. The debugger was unable to find the registration for the target application. If the problem persists, try uninstalling and then reinstalling this application.
The app does get installed on the phone and can be executed there. But I can't debug it with Visual Studio.
Meanwhile, the error I see in the error list in VS is:
DEP6700: LaunchMsvsmon failed on the device side. [0x800401F3] Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING))
I uninstalled both on the computer and on the phone, I rebooted both, I deleted the .vs folder, bin and obj folders... Nothing helped.
What are these errors telling me?