Windows Phone Emulator Hyper-V Error

image

I recently reinstalled my laptop with Windows 8 and Visual Studio 2012 to be able to develop Windows Phone 8 application on that. I thought every thing was fine until I ran the first application in the emulator.

I immediate got an error: “Something happened while creating a switch: Xde couldn’t find an IPv4 address for the host machine.” After some searching I found a solution that worked for me.

image I had to start the Hyper-V Manager, which was on my start menu. I selected the Virtual Switch Manager… from the action menu on the right.

In the Virtual Switch Manager I created a new virtual network switch. I selected “Internal” from the list of types and hit the button. I named the switch “Windows Phone Emulator Internal Switch” and made sure the connection type was set to “Internal Network”. After trying these setting it turned out I had to check “Enable virtual LAN identification…” too.

Below is a screenshot of the setting…

I hope this helps anyone struggling with the same issue.

image

3 comments for “Windows Phone Emulator Hyper-V Error

  1. John Bailey
    August 20, 2013 at 8:31 pm

    Thanks for this it fixed me right up.

  2. August 20, 2013 at 9:11 pm

    yw… glad I could help…

Leave a Reply

%d bloggers like this: