English 中文(简体)
How to load any XAP file with the Windows Phone 7 emulator
原标题:

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?

最佳回答

Run this:

D:Program FilesMicrosoft SDKsWindows Phonev7.0ToolsXAP DeploymentXapDeploy.exe

问题回答

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

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.

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

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.

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 SDKsWindows Phonev8.0ToolsXAP 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.




相关问题
System.Json namespace missing from Windows Phone 7

During a Mix10 presentation, the presenter (Charlie Kindel) said that when writing Silverlight based apps for WP7 you get all of Silverlight 3.0 with some of Silverlight 4.0 mixed in. Why then is ...

Will Windows Phone 7 Support Multitasking third party apps

Obviously it s early days, I do not know whether this is information that is in the public domain or not yet, but... I have trawled through some of this site - http://www.windowsphone7series.com/ but ...

Windows Series Phone 7 "Cloud"

I have been reading up on "Cloud computing" on here and still not getting it. Basically I want to develop for the WP7 http://msdn.microsoft.com/en-us/library/ff402531%28v=VS.92%29.aspx#...

Windows Phone 7 Tab Pages (page cycle)

I know.. I know, it s only a few hours old. But how the hell do you get the little page tabbing/cycle (forgot what the official name is) on the top of the page under the app title. MIX Keynotes made ...

Recording audio from the microphone in Windows Phone 7 Series

I m wondering if anyone has any code samples or links to documentation that demonstrate how to capture audio from the device s microphone on the new Windows Phone Series 7. I ve recently downloaded ...

Resources for Windows Phone 7 development [closed]

Windows Phone 7 has been unveiled and MS have announced all details of the development chain at the Mix10 conference. So this could be a good starting point/collection of online resources as they ...

热门标签