Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deploy/debug app from VS 2019 to windows 10 mobile phone via USB

I have some old windows 10 mobile phones, that I want to give a second life as a music device for my kids. Since I have Visual Studio 2019 Enterprise at my hands, I thought I try to create something myself.

Not I tried to create an UWP app and a Xamarin app and try to debug them on the phone (connected via USB, developer mode enabled, unlocked). But with both I get this error:

DEP6957: Failed to connect to device '127.0.0.1' using Universal Authentication. Please verify the correct remote authentication mode is specified in the project debug settings. COMException ... HRESULT: 0x8007274D) [0x8007274D]

The apps are still in their initial state after creating the project, no modifications done. The settings for debugging are set to: Debug, ARM, Device

I had some experience with an older Visual Studio version and windows phone 7, back then it just worked and all the documents I could google up suggest, while there are new ways, it should still work via USB.

like image 485
michi Avatar asked Oct 18 '25 04:10

michi


1 Answers

If you plan to develop Windows 10 Mobile App, you need to use Visual Studio 2017 and make sure the target version of the app is below 14393.

Visual Studio 2019 no longer supports deploying UWP apps on mobile phones.

Best regards.

like image 112
Richard Zhang Avatar answered Oct 19 '25 23:10

Richard Zhang



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!