Reputation: 691
I am using Visual Studio 2012 in Windows 8. I have set up Windows Phone 8 sdk and everything was working fine until I made some changes to network settings. First I was unable to connect to internet through the emulator. But I managed to set up internet connectivity by sharing the physical connection with my USB modem. However now I'm having problems in launching the emulator which has been working absolutely fine before. When I run the emulator separately (via Hyper-V manager) everything is okay and I can connect to internet but the problem is when I launch the emulator from Visual Studio 2012.
A related question can be found here [1] but the answer is not what I am looking for. Is there a way to fix this issue without running the emulator on a virtual machine?
Thanks
1 Windows Phone 8 Emulator Deployment Issue with Internet
Upvotes: 6
Views: 3945
Reputation: 6812
A little late, but I had to face the same problem and found this solution (all the other solutions didn't work for me)
1.go to network and sharing center
2.go to change adapter setting
3.go to v Ethernet (internal Ethernet port windows phone emulator internal switch)
4.right click it and enable it(if already enabled then disable and enable it again).
Upvotes: 0
Reputation: 31
When I ran into this it was caused by my anti-virus software. Specifically, the 'AVG network filter driver' was enabled for the Hyper-V virtual adapter. Unchecking this option fixed the problem for me.
Interference from other virtualization or networking software and drivers outlines specifically which items should be checked for the virtual adapter.
Upvotes: 1
Reputation: 216
Edit the .VMX file in your virtual machine folder
vhv.enable = "TRUE"
hypervisor.cpuid.v0 = “FALSE”
and save it.
Upvotes: 0
Reputation: 2696
The debugger runs over a TCP/IP connection so if you've changed the HyperV network settings it's possible you've isolated the VM from the host so it cannot open a connection. Try and reset the connection back to it was before you changed it to get the Internet working and this should re-store your debugger.
Upvotes: 0