windows-phone - 无法在 visual studio 2015 中启动 Windows Phone 模拟器

标签 windows-phone visual-studio-2015

我的机器是 HP EliteBook 8540w,据我所知它支持 Hyper-V,并且我已在 BIOS 中启用它。但是,当我尝试在 Visual Studio 2015 中启动 Windows Phone 应用程序模拟器时收到以下错误:

Windows Phone Emulator is unable to start because the hypervisor is not running.

更详细的截图如下:
enter image description here

根据我的i7-720QmCPU specs , 支持VT-d
Credit: Intel

那么是什么原因导致我的机器无法启动模拟器呢?

更新:
我还使用 coreinfo 工具检查了 BIOS 设置,结果如下图所示:

enter image description here

更新:

正在关注 stijnvangaal的评论,我以管理员身份运行以下命令并重新启动。

'bcdedit /set hypervisorlaunchtype auto'

但是,在下次运行之后,我遇到了以下窗口(“虚拟机服务未运行”)

enter image description here

然后,我开始了这个(通过单击消息框上的链接):

enter image description here

在操作菜单下,我单击“启动服务”,然后在 visual studio 中再次运行该应用程序。成功?不幸的是,还没有结束(感到绝望):

enter image description here

最佳答案

我有同样的问题: 1 - 我在 Windows 功能中禁用 Hyper V 模式:

  • 转到“程序和功能”。
  • 选择打开或关闭 Windows 功能。
  • 取消选择 Hyper-V,然后单击“确定”。

2 - 重启电脑

3 - 在 Windows 功能中再次启用 Hyper V。

而且有效! 希望对您有所帮助:)

关于windows-phone - 无法在 visual studio 2015 中启动 Windows Phone 模拟器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34740520/

相关文章:

windows-8 - Windows Phone 8 - 设备管理

git - 如何在具有多个协作者的环境中使用本地化的 PostBuildEvent?

c# - 取决于另一个项目的 MSBuild 自定义任务

c++ - 如何安装系统范围的 nuget 包?

javascript - 捕获相机并在 div 中显示预览

android - 如何防止移动设备在显示 HTML 页面时关闭其显示

sqlite - 无法加载 DLL 'sqlite3' - 适用于 Windows Universal Mobile

visual-studio - Windows 10 UWP 应用程序 - 创建包时出错

c++ - 如何在 Visual C++ 中对 x64 项目运行代码分析?

asp.net-mvc-4 - MVC 4 项目无法解析 VS 2015 中对 System.Web.Helpers 的引用