OSX 上 VMWare Fusion 中的 Windows Phone 8 模拟器 [英] Windows Phone 8 Emulator in VMWare Fusion on OSX

查看:20
本文介绍了OSX 上 VMWare Fusion 中的 Windows Phone 8 模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的 Mac 上启动 Windows Phone 8 SDK 模拟器,以便我可以对我构建的移动网站进行简单的网络测试.

我遵循了几个指南,他们都说同样的话.如:6. 显示内容(文件和文件夹列表)后,找到 VMware 虚拟机配置文件 - 扩展名为 .vmx 的文件.hypervisor.cpuid.v0 = 假"

事实证明,本指南对于设置它非常有用:http://developer.nokia.com/Community/Wiki/Windows_Phone_8_SDK_on_a_Virtual_Machine_with_a

我能够启用 Hyper-V 支持,我什至设法直接从 Hyper-V 管理器打开 Windows Phone 8 模拟器.但是在这种状态下,它缺少镀铬、按钮,并且当鼠标穿过屏幕时它就会消失.据说解决方案是直接从 Visual Studio 启动模拟器.

我的问题是,当我尝试从 Visual Studio 启动模拟器时,它会创建一个新映像,然后进入引导外观,它不断崩溃并一遍又一遍地重新启动.

查看 Hyper-V 事件日志时,我看到此错误:

'WP8SDK720P' 遇到致命错误.来宾操作系统报告它失败,错误代码如下:ErrorCode0:0xC000021A,ErrorCode1:0x88EB9150,ErrorCode2:0x0,ErrorCode3:0xC0000022,ErrorCode4:0xD203BC.如果问题仍然存在,请联系客户操作系统的产品支持.(虚拟机ID 50607D9A-6E23-4369-9D89-2730614219BA)

我怎样才能克服这个错误?

解决方案

最后我找到了一个解决方案,我设法使用以下命令直接从命令行启动原始 Windows Phone VM 映像:

"C:\Program Files (x86)\Microsoft XDE\8.0\XDE.exe"/vhd "C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Emulation\Images\Flash.vhd"/name WP8SDK720P

我用记事本创建了一个新的文本文件,并将此命令放入其中,并将该文件作为 .bat 文件保存在我的桌面上.这样我就可以双击快捷方式并启动 sim.

希望这可以帮助其他人.通过这种方式,您甚至不需要启动 Visual Studio 来运行模拟器,如果您使用模拟器来测试 Web 应用程序,它会变得更加简单.

注意如果您按 FN+DOWN-ARROW,您可以启用键盘在 sim 中工作.

I am attempting to launch the windows phone 8 SDK emulator on my Mac so that i can do simple web testing of mobile websites i build.

I have followed several guides and they all say the same thing. Such as: 6. Once the content (list of files and folders) is displayed, find the VMware virtual machine configuration file – the file with the .vmx extension. hypervisor.cpuid.v0 = "FALSE"

And this guide proved to be quite useful to get it setup: http://developer.nokia.com/Community/Wiki/Windows_Phone_8_SDK_on_a_Virtual_Machine_with_Working_Emulator

I was able to get Hyper-V support enabled and I have even managed to open the Windows Phone 8 Emulator directly from the Hyper-V Manager. But in this state it is missing the chroming, the buttons, and when the mouse goes across the screen it disappears. The solution to this is said to be launching the emulator directly from Visual Studio.

My problem is when ever i try to launch the emulator from Visual Studio it creates a new image and then goes into a boot look where it keeps crashing and restarting over and over again.

When viewing the Hyper-V event logs i see this error:

'WP8SDK720P' has encountered a fatal error. The guest operating system reported that it failed with the following error codes: ErrorCode0: 0xC000021A, ErrorCode1: 0x88EB9150, ErrorCode2: 0x0, ErrorCode3: 0xC0000022, ErrorCode4: 0xD203BC. If the problem persists, contact Product Support for the guest operating system. (Virtual machine ID 50607D9A-6E23-4369-9D89-2730614219BA)

How can i get past this error?

解决方案

In the end I found a solution, I managed to launch the original Windows Phone VM image directly from the commandline with this command:

"C:\Program Files (x86)\Microsoft XDE\8.0\XDE.exe" /vhd "C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Emulation\Images\Flash.vhd" /name WP8SDK720P

I created a new text file with notepad and put this command in it and saved the file on my desktop as a .bat file. This way i can just double click the shortcut and launch the sim.

Hopefully this helps someone else out there. In this way, you don't even need to start visual studio to run the emulator, it makes it much simpler if all you are using the emulator for is testing web-apps.

N.B. if you press FN+DOWN-ARROW you can enable the keyboard to work in the sim.

这篇关于OSX 上 VMWare Fusion 中的 Windows Phone 8 模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆