Deploying a UWP application from Visual Studio on a Windows 10 Phone requires a PIN

I am developing a UWP application for Windows 10 Phone. Since some days, when I try to deploy an application from Visual Studio, I’m asked for a PIN code to connect to the device

In the phone settings, I can call the pairing so that a new PIN code is created for me. But when I enter this PIN, a new dialog box appears informing me that the PIN was incorrect:

enter image description here

If I click Cancel, the deployment is interrupted by an error message:

1> Error: DEP6100: The following unexpected error occurred during boot: "Connecting to device" 30F105C9-681E-420b-A277-7C086EAD8A4E '.':

Strange, but a few days ago I was not asked to enter the PIN code when I deployed the application. :-( So currently the only option I have is to deploy via the web portal. This works, but it is extremely slow: - (

Can someone tell me how to solve the problem or which PIN should I enter in order to achieve deployment?

+5
source share
4 answers

It seems that the problem was caused by the fact that I am developing inside a virtual machine (VMWare Fusion on Mac). After setting up the development environment on the PC, the deployment works fine. I even debug the application running on the phone from within Visual Studio.

0
source

I had this problem today, closing the visual studio and restarting the IpOverUSB service fixed this problem for me.

You can look at the question of Ricardo Piper , he listed all he tried to do, and everything that might work.

0
source

Here is the solution that worked for me:

I had the same problem on my Macbook running VMWare Fusion and tried to debug my Lumia 950 phone. I almost gave up and then tried to use the free VirtualBox with a virtual USB 3.0 port (which requires the VB expansion pack). And it worked!

Here is my setup:

In the virtual machine, I am configured to use the USB 3.0 port, since with Windows 1.x the device driver cannot be installed with Windows 10. VM contains Visual Studio 2015; I created a JavaScript UWP application and ran it using Debug on a connected Lumia device.

0
source

I had to go to the developer settings on the device. Return to Windows Store Services, and then return to Developer Mode

0
source

Source: https://habr.com/ru/post/1240155/


All Articles