Windows 10 and Visual Studio 2015 Phone apps

I had installed Windows 10 Technical Preview Build 10074, and then I downloaded Visual Studio 2015 RC . 

I tried with a new Universal Windows App. I targeted that to builtin Windows 8.1 512 MB emulator but I was unable to run the Windows Phone Emulator either from the Developer Power Tools or by executing a phone app from Visual Studio 2015. Here is how to solve it.

Open the Hyper-V Manager

Now click on Virtual Switch Manager on the right under Actions.

Choose the Windows Phone Emulator Internal Switch from the list of switches and hit Remove.  
 new one will be automatically created for you the next time you try to connect to the emulator in Visual Studio.And then choose the Windows Phone Emulator Internal Switch from the list of switches and hit Remove. Don’t worry, a new one will be automatically created for you the next time you try to connect to the emulator in Visual Studio.

Now launch Visual Studio as an administrator

And try again to execute a Windows Phone project. The emulator took quite a while for me to open up, but it eventually did and worked great.

Hope this helps someone.