如何使用 Windows Phone 7 模拟器加载任何 XAP 文件
有谁知道是否可以在没有解决方案或源文件的情况下将 Windows Phone 7 XAP 文件加载到模拟器中?换句话说,我可以只向某人发送一个 XAP 文件,以便他们可以测试我的应用程序,而不向他们提供完整的源代码吗?
Does anyone know if it is possible to load a windows phone 7 XAP file into the emulator without the solution or source files? In other words, can I send somebody just a XAP file so that they can test my app, without giving them the full source code?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
运行:
D:\Program Files\Microsoft SDKs\Windows Phone\v7.0\Tools\XAP Deployment\XapDeploy.exe
Run this:
D:\Program Files\Microsoft SDKs\Windows Phone\v7.0\Tools\XAP Deployment\XapDeploy.exe
这是最好和最简单的方法。转到开始按钮并导航到“Windows Phone 开发人员工具”文件夹。在里面您将看到一个名为“应用程序部署”的程序,您可以打开它并使用它来安装 xap 文件。它会询问您 .xap 的位置,并提供部署到模拟器或解锁设备的选项。这是源网站:http://www. imaginativeuniversal.com/blog/post/2010/12/15/Windows-Phone-7-Side-Loading.aspx
Here's the best and easiest way. Go to the start button and navigate to the "Windows Phone Developer Tools" folder. Inside you'll see a program called "Application Deployment" that you can open and use to install the xap file. It will ask you for the location of the .xap and will give the option of deploying to the emulator or to an unlocked device. Here is the source website: http://www.imaginativeuniversal.com/blog/post/2010/12/15/Windows-Phone-7-Side-Loading.aspx
根据Windows Phone 开发者博客 - 以下两个工具应该能够解决这个问题(尽管我还没有尝试过):
• 开发者注册实用程序 –现在您可以解锁 Windows Phone 7 设备以进行开发。
• XAP 部署工具 – 如果您想将 XAP 文件直接部署到未锁定的设备,现在就可以。
There now seems to be a solution to this in the beta release, according to the windows phone developer blog - the following two tools ought to be able to address this problem (although I have yet to try this):
• Developer Registration Utility – Now you can unlock you Windows Phone 7 device for development purposes.
• XAP Deployment Tool – if you want to deploy XAP files directly to an unlocked device, now you can.
是的,它可以部署在任何模拟器上。
这里的方法是
http://social.msdn.microsoft.com/Forums/en-US/windowsphone7series/thread/023d5f73-0528-47ee-add4-9f57f7d29815
问候
Yes it can be deployed on any emulator.
And here the way to do it
http://social.msdn.microsoft.com/Forums/en-US/windowsphone7series/thread/023d5f73-0528-47ee-add4-9f57f7d29815
Regards
在当前的 CTP 中,XAP 只能从项目中部署。因此,与其他人共享您的应用程序的唯一方法是共享源代码。
In the current CTP, XAPs can only be deployed from a project. So the only way of sharing your application with someone else, is to share the source.
是的,您可以在模拟器中部署适用于 WP7 或 WP8 的 XAP 文件,而无需源文件!请按照以下步骤操作:
Yes, you can deploy the XAP file for WP7 or WP8 in emulator without having the source file!! Please follow the steps: