无法启动Windows Phone模拟器 [英] Unable to Launch Windows Phone Emulator

查看:283
本文介绍了无法启动Windows Phone模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想我们的CI服务器上运行单元测试。当我运行以下命令,它会尝试推出仿真器,但失败,出现以下消息

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.console.exe myxapfile.xap

错误消息

The Windows Phone Emulator wasn't able to ensure the virtual machine was running:

Something happened while starting a virtual machine: 'Emulator WVGA 512MB.ttmaltiparmak' failed to start. (Virtual machine ID 1350ADCE-CC35-4615-BFD5-250179F789EE)

The Virtual Machine Management Service failed to start the virtual machine 'Emulator WVGA
512MB.ttmaltiparmak' because one of the Hyper-V components is not running (Virtual machine ID
1350ADCE-CC35-4615-BFD5-250179F789EE).



我的系统似乎支持以下要求(但它是一个虚拟机,它是一个问题吗?)

My system seems to support following requirements (But it is a virtual machine is it a problem?)


  • 64位Windows 8

  • SLAT支持

  • 4 GB RAM

  • Hyper-V是在

  • 64 bit windows 8
  • SLAT Support
  • 4 GB ram
  • Hyper-V is on

进一步的研究和结果:

Further trials and results:

我试着删除,并通过重新添加Hyper-v的插件删除程序和现在的的Hyper-v平台选项被禁用,我无法激活它:•吉尔森Banin说,安装Hyper-v是不可能在虚拟机上,正如我之前提到我们的服务器是虚拟机是不是说我不能在使用Hyper-v虚拟机?

I tried removing and re-adding hyper-v through add-remove programs and now Hyper-V Platform option is disabled and i can not activate it :S Gilson Banin says that hyper-v installation is not possible on virtual machines, as i mentioned before our server is a virtual machine is it right that i cant use hyper-v on a virtual machine?

http://blogs.technet.com/b/gbanin/archive/2013/06/26/how-to-install-hyper-v - 酮一个虚拟机合超v.aspx

在MSDN上给出的答案是:的http://social .msdn.microsoft.com /论坛/ wpapps / EN-US / 083c8964-071f-469a-8740-2412a69092fc /无法对发射窗口手机仿真器?论坛= wptools

推荐答案

我有同样的问题。该固定它。

I had the same problem. This fixed it.

关闭虚拟机,选择选项虚拟化的英特尔VT-X / EPT或ARM-V / RVI在虚拟机处理器设置。

Shut down the VM, select option "Virtualize Intel VT-x/EPT or ARM-V/RVI" in the vm processor settings.

然后这两行添加到VMX文件的末尾:

Then add these two lines to the end of the vmx-file:

hypervisor.cpuid.v0 = "FALSE"
mce.enable = "TRUE"

启动虚拟机,添加的Hyper-V组件,然后重新启动虚拟机。下一次你启动模拟器,Visual Studio将配置Hyper-V和运行模拟器

Start the VM, add the Hyper-V components and restart the vm. Next time you start the emulator, Visual Studio will configure Hyper-V and run the emulator

这篇关于无法启动Windows Phone模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆