Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2015: Emulator is unable to verify that the virtual machine is running

I have the following problem, hopefully somebody has a solution. Previously I had Windows 8.1 and Visual Studio 2013. I upgraded to Windows 10. I installed Visual Studio 2015 Enterprise. I created a new solution, with only 1 project for a blank Universal Windows app. I am using C#.

When tring to run my proyect by selecting any of the "Mobile Emulators 10...." I get the following error: enter image description here However, if I select "Simulator" it works. Also, If I open a solution for Windows Phone 8.1 and I run using "Emulator 8.1" it works.

Any help is welcome. Thank you.

like image 323
CCamilo Avatar asked Aug 11 '15 15:08

CCamilo


1 Answers

I was having a similar issue however I'm using VMWare Fusion to run Windows 8.1. The steps in this article solved my problem. https://blogs.endjin.com/2013/06/running-the-windows-phone-emulator-in-vmware-fusion/


  1. Stop the virtual machine that you are running the emulator on.
  2. Open the Virtual Machine Library L (WindowsVirtual Machine Library)
  3. Select the VM in the list and go to SettingsProcessors & MemoryAdvanced Options

    Tick the Enable hypervisor applications in this virtual machine checkbox to enable nested virtualization. This will add vhv.enable = "TRUE" in the VM configuration file (more on that below).

  4. Go back to the VMs list and right-click on the VM and select Show in Finder.
  5. In the Finder window, right-click and Show Package Contents.
  6. Once the content (list of files and folders) is displayed, find the VMware virtual machine configuration file – the file with the .vmx extension.
  7. Open this file in TextEdit and add this line at the end: hypervisor.cpuid.v0 = "FALSE"
  8. Save and restart the VM.
like image 161
rsnyder Avatar answered Oct 14 '22 07:10

rsnyder