Windows Phone 模拟器无法创建内部网络交换机

Windows Phone Emulator is unable to create internal network switch

我在 运行 模拟器时收到此消息:

[Window Title] Windows Phone Emulator

[Content] Windows Phone Emulator is unable to create the internal network switch:

Something happened while creating a switch: Failed while creating virtual Ethernet switch.

Switch create failed, name = '186E24AD-DE28-4C32-A93D-FF494B43B772', friendly name = 'Windows Phone Emulator Internal Switch': %%3758096900 (0xE0000204).

[Close]

为什么会出现这个错误,我该如何解决?

1.Go 进入 Hyper V 管理器。
2.Go 进入虚拟交换机管理器。
3.Create 名为 'Windows Phone Emulator Internal Switch' 的新虚拟交换机。
4.Set 它是内部连接类型。
5.Now 启动模拟器。它应该可以工作。
(可能需要重新启动)

我卸载了 Oracle Virtual Box,Windows Phone 模拟器现在可以正常工作了,谢谢。

我在挖掘了几个小时后遇到了同样的问题,最后我这样做了:

  1. 转到程序和功能并通过 "turn windows features on or off" 关闭 hyper-v,然后重新启动计算机并打开它并再次重新启动计算机以获得全新的 hyper-v。
  2. 运行 安装 Xde.exe 的 cmd(通常在 "C:\Program Files (x86)\Microsoft XDE.0.10240.0" 中)和 运行 命令 "Xde.exe -v sdcard.vhd"
  3. 运行 Xde.exe 作为管理员(你会得到一个错误)
  4. 运行 visual studio 并尝试通过部署项目打开模拟器。

我不知道 解决了问题,但问题消失了。