模拟器无法验证虚拟机是 运行

The emulator is unable to verify that the virtual machine is running

我在 Azure 中创建了一个虚拟机,Windows Server 2012,x64 和 Visual Studio 2015。 我正在尝试网站 https://taco.visualstudio.com/en-us/docs/get-started-first-mobile-app/ 中的天气应用程序示例 当我尝试启动应用程序时 运行 模拟器 VS Emulator 5 KitKat (4.4) 我的互联网连接出现错误,但我实际上可以连接到互联网。

启动应用程序后,我收到此消息:

我点击“接受”,然后在显示屏幕后,我收到了下一条消息(虽然消息是在谈论 Hyper-V,但我使用的是我的 MSDN 帐户和 Azure)

When I try to start the application running the emulator VS Emulator 5 KitKat (4.4) I have errors with internet connection but I actually can connect to the internet.

VS 模拟器 运行 作为 Hyper-V 虚拟机。如果您已经在 Windows Server 2012 VM 环境中,则无法在其中启动另一个 VM。

在 Windows Server 2016 或 Windows 10 VM 中,可以在其中启动 VM。详情请参考Enable Nested Virtualization.