recently I encountered a problem trying to start a Windows Phone Emulator from within Visual Studio 2012. In a WP8 project, starting a debugging session effected in loading the emulator box, but then right away stating the following:
The Windows Phone Emulator wasn’t able to connect to the Windows Phone operating system:
The emulator couldn’t determine the host IP address, which is used to communicate with the guest virtual machine.
Some functionality may be disabled.
The WP8 app did not start, all I could see was the main tiled page of the emulated phone. Additionally, Visual Studio reported an error: „Invalid pointer„.
Some sources on the web state that this might me caused by an interference between e.g. VPN client software and the emulator network usage. It was not quite what I would want to do, and luckily I found another solution:
- Started Hyper-V manager
- Virtual Switch Manager
- Removed the „Windows Phone Emulator Internal Switch” from the list, and applied the changes.
Starting the emulator afterwards required an elevation of privileges for the system in order to create the switch again, this time without any conflits.
Et voilá, emulator does not seem to have connectivity problems anymore, the debugging works as it should.
Hope it helps,