Unable to Launch Windows Phone Emulator

后端 未结 11 1678
我寻月下人不归
我寻月下人不归 2020-12-28 16:57

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         


        
11条回答
  •  隐瞒了意图╮
    2020-12-28 17:25

    You have not installed Hyper-V properly. "Hyper-V platform" should be installed for the service to run. Normally VM's have a "hypervisor" running by default and Hyper-V requires this hypervisor to run itself.

    So first disable the hypervisor of the VM by altering the "vmx"(in case its vmware) file of your virtual machine(BACK UP THE FILE BEFORE MAKING CHANGES!)

    off your VM

    locate the .vmx file

    If you cant fiond the vmx file read this article - http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003880

    open it with notepad and add this line at the end(or anywhere actually)

    hypervisor.cpuid.v0 = "FALSE"

    If you cant find the vmx file read this article http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003880

    Now you will be able to install the "Hyper-V platform" in windows "turn windows features on or off", do that.

    restart

    Try deploying to WP Now! If it is still not working please comment the error you get!

提交回复
热议问题