Dishant
Dishant

Reputation: 1595

Debugging Windows 10 Mobile App on a Device

I created new UWP app in VS2015, but when I am trying to debug App on a device it's giving me below error:

Error : DEP6400 : Failed to deploy. Make sure another deployment or debugging session is not in progress for the same emulator or device from a different instance of Visual Studio: Error writing file '%FOLDERID_SharedData%\PhoneTools\11.0\Debugger\bin\RemoteDebugger\vbdebug.dll'. Error 0x80072736: An operation was attempted on something that is not a socket.

Below is my system spec: Windows 10 PC Build: 10240, Visual Studio 2015, UWP SDK: 10586, Package Manifest Target Version : 10586 Package Manifest Min Version : 10240 Windows 10 Mobile Build on Device: 10.0.10586.71,

Please guide me what this error is and how to resolve this error.

Upvotes: 2

Views: 1461

Answers (1)

Shafiq Abbas
Shafiq Abbas

Reputation: 98

Zee,

Please make sure that you are checking the following below running the app.

  1. There is a chance that you already opened a visual studio and you would have run app. Then you would have opened visual studio again and you tried the run the app again.

Here the problem is, only one visual studio can run at a time. When the first visual studio is running and when you try to launch the project once again, it will fail.

  1. Try to restart your machine and run the project.

  2. If you are not willing to restart the machine, open your task manager and close all the visual studio running instance.

Upvotes: 0

Related Questions