How to load any XAP file with the Windows Phone 7 emulator

主宰稳场 提交于 2019-12-03 04:22:37

问题


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?


回答1:


Run this:

D:\Program Files\Microsoft SDKs\Windows Phone\v7.0\Tools\XAP Deployment\XapDeploy.exe




回答2:


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




回答3:


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.




回答4:


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




回答5:


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.




回答6:


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.


来源:https://stackoverflow.com/questions/2511586/how-to-load-any-xap-file-with-the-windows-phone-7-emulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!