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.
Zee,
Please make sure that you are checking the following below running the app.
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.
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.
Related
I start to develop on windows phone.
I installed SDK8.0 and visual studio 2013
I create project and try to run it and it does not work.
I try different emulator on visual but always the same error.
'Error to deploy" or "xde.exe stop"
What is the problem ? Bad sdk, bad emulator ?? , bad installation of anything else ?
Some suggestions ?
PS: i reboot pc and visual and same error too.
Pic to see my environnement
http://hpics.li/c2d2fca
What version of Windows are you running? Is your dev environment in a VM or is it a physical machine?
This error is typically related to Hyper-V configuration issues. You can view Hyper-V system requirements here; if your machine does not meet these requirements you will be unable to use the Windows Phone Emulator.
I create new default project Window Phone, then run it with Emulator Window Phone but it's not work however emulator started.
I use Window 8.1 64bit with Visual Studio Professional 2013 - Update 4
Error say:
Error 1 DEP6100 : The following unexpected error occurred during boostrapping stage 'Connecting to the device': SmartDeviceException - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
Error 2 DEP6200 : Boostrapping 'Emulator 8.1 WVGA 4 inch 512MB' failed. Device cannot be found. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Help me Thanks !
Did you try all these steps?
Closing Visual Studio
Going to the "Control Panel"
Selecting "Programs and Features"
Find "Windows Phone 8.1 Emulators - ENU" in the list
Click the "Change" button at the top or right-click and select "Change"
On the "Visual Studio" window that appears; select "Repair"
Wait for the process to complete, and re-open Visual Studio
Run the emulator again
Or else check out for more here:
Windows phone 8.1 emulator not loading OS
Windows phone 8.1 Emulator launching issue
I had this same error... I'll start by saying that reloading Visual Studio 2013 and Windows Phone SDK 8.0 did not fix my issue. What did correct my issue was creating a blank project within the Visual Studio Express 2012 for Windows Phone and deploying the project. Then I went into Visual Studio 2013 and tried deploying my project again and voila, it worked. Why, I have no idea. My guess is there is a file or configuration that is set up by VS Express for WP.
For error DEP6100 on Windows 10 Emulators 10.0.1.0 (1081p 2gb)
You should Delete all (VHD and AVHD) files in:
C:\Users\MyUserName\AppData\Local\Microsoft\XDE\10.0.1.0\
All will be recreated when the emulator will restart. Replace MyUserName by you user name.
Should work with other emulators (you could check your local Hyper-V to find the right path)
See you :)
I had your same problem and after many attempts resolved it this way:
Deactivate Hyper-V (and restart computer).
Go in the Device Manager and open the Network Adapters, here uninstall everything with the name "Hyper-V...", this will allow us to reactivate Hyper-V without any conflict.
Activate Hyper-V (and restart computer).
I have a really weird issue that will make me crazy soon I think.
I've installed Visual Studio Express 2013 for Windows to test Windows Store Apps development. I want to use XAML and C#. So, I created a new project from the blank app template and just try to start it. Unfortunatelly it has never worked, the screen stay blocked on the splash screen of my app. No errors in Visual Studio, it just try to launch a Visual Studio Just in Time debbuger for an unhandled exception in .Net framework, but when I select the debugger nohthing happen. There's no trace of an exception in the EventViewer either...I tried local machine and simulator debug...no change !
Sometime i have this message in Visual Studio too but it's not all the time :
I tried everything I found on the internet :
Reset VS settings
Renew developper license
(...)
When I make a new Windows Store App with Javascript it works perfectly..it seems to be only a XAML/C# issue.
Any help would be much appreciated ! Thank you in advance !
My configuration :
Windows 8.1
Visual Studio Express 2013 for Windows Update 1
SSD drive, Intel i7, Lenovo IdeaPad
Ok I fixed it by re-installating all the system. I suppose there was something wrong with the .net Framework. Now it worked well !
EDIT :
I found that was messing the whole system. If I install SQL Server 2012 Express Edition it stop working. So...I switch to another DBMS !
I'm running Visual Studio 2013 on Windows 8.1 Pro.
I am having an issue with debugging Windows Phone 8 apps. When I try and deploy to the virtual Phone (Emulator WVGA 512MB), I get the following:
When I click yes, I get the following error:
After this I get the following error in Visual Studio:
Error 1 App deployment failed. Please try again. Line: 0 Column: 0
If I select No, it just sits on a screen with the following message:
The Windows Phone OS is starting...
I can run the emulator fine directly from Hyper-V, just not from Visual Studio.
I have tried a full repair of Visual Studio. Has anybody seen this? How do I solve this?
Thanks
i usually delete the emulator vm and whatever virtual switches that was created with it, then restart the pc, after that i open Visual studio and i run my app, so that visual studio starts and creates the vm needed, then it works fine
You don't always need to restart i just do it just in case, deleting only the VM can help. just run your app through visual studio again.
open hyper-v go to virtual switch manager and delete all the switchs
then open again your vs and run your project in the emulator , press yes when the configuration message appears
and wait ...
if doesn't work then go to the hyper-v and connect to your emulator and run your project again
I have installed Windows Phone 8 SDK with Visual Studio 2012 Professional with all updates. When I create a sample project and try to run its not showing any emulator to run on
When I am running the XDE file directly from C:\Program Files (x86)\Microsoft XDE\8.0 path its showing me following errors:
then when I am hitting retry its shows me following error
After clean installation over and over again the SDK is not able to create a Virtual machine as shown below
What should I do now???
Try to execute Visual Studio as Administrator
As said above, try to execute VS 2012 as administrator and if that doesn't work, re-install VS 2012 and Phone SDK.