I am trying to run unit tests on our CI server. When i run the following command it tries to launch emulator but fails with the following message
vstest.cons
Add these two lines to the end of the vmx-file:
hypervisor.cpuid.v0 = "FALSE" mce.enable = "TRUE"
Just open Hyper-V manager and delete all connections. Then try again. This solution worked on my PC.
I had a situation where I had installed an azure component which preceded the current Visual Studio quarterly update and caused the emulator to die.
I recommend that you re-install/fix the current Visual Studio Update. Reboot and try again.
Right Click on Computer --> Click Properties --> On Left Look for "Advanced System Properties" and Click on it Click "Advanced" tab --> Click the "Performance Setting" Button --> Click "Advanced" Tab --> In the "Virtual Memory" section Click "Change .." --> Unchecked Automatically manage paging file size for all drives --> Click Radio Custom size --> Set the values manually - Minimum [4096], Maximum [8192]
Select the Emulator VM you are going to use in Windows 8 Phone development (default one is “Emulator WVGA 512MB”). Go to the Hyper-V VM settings and change the number of processors from 2 to 1. Press Apply and than OK in order to apply new settings.
If on a Mac or virtual machine ..
Or try to see the other solutions in this link:
Running Windows 8 Phone emulator in the Windows 8 virtual machine Problem
I really hope this link link can help you a less ;-)