I did fresh W10 and VS 2015 install and now when i try running newly created hello world type of app on emulator it doesn't load, all it says is:
after 5-10 minutes it exits and Visual studio returns DEP6100 (error on bootstrapping stage - connecting to device) and DEP6200 (Device not found) errors.
However VM itself starts, boots up and works in Hyper-V
Things i tried:
- Change/Repair Windows 8.1 emulator (nothing changed)
- Change/Repair Visual studio (nothing changed)
- Re-install Visual studio (nothing changed)
- Change Switch type in Hyper V from internal to private (When emulator windows popped it it prompted that there is error with resolving host ip, but booted up and actually this time passed Windows Phone OS is starting screen and actually booted up, but Visual Studio somehow didn't recognize that and after a few minutes of it booting up it forcefully shut down VM and returned same error codes)
- Removing all ethernet adapters (including my computer one) and then checking for hardware changes so it would create them again. (They were recreated but didn't help, there are only 3 adapters now (Ethernet, Wifi and vEthernet(Windows phone internal Switch)
- Relaunching it billion of times without changing anything (somehow didn't work)
I tried what you did and it didn't work. So I did the following:
- Go to "Control Panel\Network and Internet\Network Connections"
- right click on "vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch)".
- Choose properties and check the case "Hyper-V Extensible Virtual Switch" and click OK.
- Again right click on vEthernet and disable it. Then re-enable it.
- Run the VM and wait for a few minutes (The 1st time is always longer to load)
So, after around 2 days of non-stop googling i found a solution from other stackoverflow question where someone had similar problem but with Android emulator
Visual studio (2015) emulator for android not working - XDE.exe - Exit Code 3
What I did was:
- Delete All VMs in Hyper V
- Delete All switches in Hyper V
- Run xdecleanup.exe for every version of XDE (Found at C:/Program Files (x86)/Microsoft XDE/ [8.0/8.1/10.0.10240.0] /XdeCleanup.exe
- Run Change/Repair on 'Windows Phone 8.1 Emulators - ENU'
- Restart Visual Studio