Windows phone 8 windows Phone Emulator不是';无法在虚拟机上设置VHD:

Windows phone 8 windows Phone Emulator不是';无法在虚拟机上设置VHD:,windows-phone-8,Windows Phone 8,运行Windows Phone 8应用程序后,我会收到以下错误报告: Couldn't change synthetic disk drive of the virtual machine. 'Emulator WXGA.test' failed to add device 'Synthetic Disk Drive'. 'Emulator WVGA.test':Cannot attach storage media to the controller because the specific

运行Windows Phone 8应用程序后,我会收到以下错误报告:

Couldn't change synthetic disk drive of the virtual machine. 'Emulator WXGA.test' failed to add device 'Synthetic Disk Drive'.
'Emulator WVGA.test':Cannot attach storage media to the controller because the specific location is in use.

尝试在命令提示符下运行此命令(以管理员身份)
gpupdate/force

原因是在虚拟机中运行的每个WP8仿真器都需要内存,所以每个默认仿真器都需要手动分配内存。以下步骤:虚拟机需要内存,步骤1)首先阻止防病毒。步骤2)开始菜单单击Hyper-v管理器。步骤3)选择用户帐户模拟器。步骤4)右键单击打开设置->IDEcontroller0->选择硬盘。步骤5)虚拟硬盘为空,因此单击新建->单击下一步->选择VHD单击下一步->选择动态扩展单击下一步->写入名称单击下一步->创建新的虚拟空白硬盘空间最多10 GB就足够了。单击下一步并完成。一旦创建意味着在hyper-v管理器中选择特定模拟器,双击并单击开始意味着成功运行。运行wp8应用程序。