Windows Phone emulator error, Hyper-V components do not work, Windows 8.1 is hosted on Windows Azure

Environment:

Windows 8.1 Enterprise 64-bit hosted in Windows Azure Visual Studio Ultimate 2013 (Update 2) 

When you try to run a very simple application for your phone, the following error occurs. I know that MS says that the VM-in-a-VM environment is not supported, but I know that it can work. Has anyone been successful in this? Any help is appreciated.

 Windows Phone Emulator The Windows Phone Emulator wasn't able to ensure the virtual machine was running: Something happened while starting a virtual machine: 'Emulator WVGA 512 MB.' failed to start. (Virtual machine ID CADD6546-129A-4683-9A2D-52EAE777E888) The Virtual Machine Management Service failed to start the virtual machine 'Emulator WVGA 512 MB.' because one of the Hyper-V components is not running (Virtual machine ID CADD6546-129A-4683-9A2D-52EAE777E888). 

Before an error occurs, the emulator displays on-screen messages:

 Loading ... The Windows Phone OS is starting ... 

And then a mistake. Of all the available Hyper-V services, the Hyper-V virtual machine service is the only one that works.

Thanks,

Chris

+6
source share
3 answers

I had the same problem with Visual Studio running on Windows 8.1 in vmware player What I had to do to solve the problem was this:

Check the box "Virtualize Intel VT-x / EPT or AMD-V / RVI" in the processor settings of your virtual machine

Add the line "hypervisor.cpuid.v0 = FALSE" to the file "Windows 8 x64.vmx" (add it between lines 5 and 6. Not sure if this matters, but on this line I am sure that it works)

Should work fine

+7
source

Florian.C's answer gave me the right way for the emulator to work correctly in VMware Fusion on my MacBook Pro. In Fusion, the settings are in the Processors and Memory section. You need to open the "Advanced" section at the bottom and check the "Enable hypervisor applications for this virtual machine". Once this was done, I also had to open the .vmx file and add the line โ€œhypervisor.cpuid.v0 =" FALSE. "I originally copied and pasted it from SO and the VM threw an error when I downloaded it. It turns out," I added that FALSE were not normal quotes. After I fixed this, the VM booted up and the emulator worked fine under Fusion. Thanks for the great info!

+1
source

Source: https://habr.com/ru/post/969666/


All Articles