如何同时运行Windows Phone 7模拟器的多个实例? [英] How can I run multiple instances of the windows phone 7 emulator at the same time?
本文介绍了如何同时运行Windows Phone 7模拟器的多个实例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在为Windows Phone 7创建一个多人游戏.如何运行模拟器的多个实例以对其进行调试?
I'm creating a multiplayer game for windows phone 7. How can I run multiple instances of the emulator in order to debug it?
推荐答案
您确实可以同时运行Windows Phone 7模拟器的多个实例,甚至可以同时调试它们,如我在
You can indeed run multiple instances of the Windows Phone 7 emulator at the same time, and even debug them simultaneously, as I show in my blog post.
- 打开文件夹[您的驱动器号]:\ ProgramData \ Microsoft \ Phone Tools \ CoreCon \ 10.0 \ addons
- 找到文件ImageConfig.en-US.xsl
- 对其进行复制,然后将其保留在同一目录中,并将其命名为ImageConfig.en-US 2nd Instance.xsl
- 在文本编辑器中打开副本.
- 找到元素DEVICE并更改其Name属性,并为ID分配一个新的GUID值.
- 向下滚动文件以找到显示PROPERTY ID ="VMID"的部分:
- 在该元素内放置一个新的Guid –确保使用大写字母而不是小写字母.
- 保存文件
- 如果已经打开XAP部署工具或Visual Studio,请重新打开它们,然后会看到新的Emulator实例.
有关详细信息,请参见博客文章. ,以及截图以阐明一些步骤
See the blog post for more details, and screenshots to clarify some of the steps
这篇关于如何同时运行Windows Phone 7模拟器的多个实例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文