Reputation: 1595
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
Reputation: 98
Zee,
Please make sure that you are checking the following below running the app.
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.
Try to restart your machine and run the project.
If you are not willing to restart the machine, open your task manager and close all the visual studio running instance.
Upvotes: 0