如何使用 Windows Phone 7 模拟器加载任何 XAP 文件

发布于 2024-08-26 14:55:54 字数 116 浏览 5 评论 0原文

有谁知道是否可以在没有解决方案或源文件的情况下将 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

如此安好 2024-09-02 14:55:54

运行:

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

定格我的天空 2024-09-02 14:55:54

这是最好和最简单的方法。转到开始按钮并导航到“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

再可℃爱ぅ一点好了 2024-09-02 14:55:54

根据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.

夏末染殇 2024-09-02 14:55:54

在当前的 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.

素手挽清风 2024-09-02 14:55:54

是的,您可以在模拟器中部署适用于 WP7 或 WP8 的 XAP 文件,而无需源文件!请按照以下步骤操作:

  1. 转到文件夹“C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Tools\XAP Deployment”并运行 .exe 文件。
  2. 现在您将发现一个应用程序部署窗口。选择目标设备。加载 XAP 文件。单击“部署”按钮。
  3. 模拟器将自动打开,最后您就可以从模拟器运行应用程序了。

Yes, you can deploy the XAP file for WP7 or WP8 in emulator without having the source file!! Please follow the steps:

  1. Go to the folder- "C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Tools\XAP Deployment" and run the .exe file.
  2. Now you will found a Application Deployment window. Select target device. Load the XAP file. Click 'Deploy' button.
  3. Emulator will be opened automatically and finally you are ready to run the app from the Emulator.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文