gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-03 18:36:18 25 4
gpt4 key购买 nike

我有以下问题,希望有人有解决方案。
以前我有 Windows 8.1 和 Visual Studio 2013。
我升级到 Windows 10。
我安装了 Visual Studio 2015 Enterprise。
我创建了一个新解决方案,其中只有 1 个项目用于空白的通用 Windows 应用程序。我正在使用 C#。

当试图通过选择任何“Mobile Emulators 10 ....”来运行我的项目时,我收到以下错误:
enter image description here
但是,如果我选择“模拟器”,它就可以工作。此外,如果我打开 Windows Phone 8.1 的解决方案并使用“Emulator 8.1”运行,则它可以工作。

欢迎任何帮助。谢谢你。

最佳答案

我遇到了类似的问题,但是我使用 VMWare Fusion 来运行 Windows 8.1。本文中的步骤解决了我的问题。
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.

关于windows-10 - Visual Studio 2015 : Emulator is unable to verify that the virtual machine is running,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31946072/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com