19

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?

Chris Ballard
  • 3,771
  • 4
  • 28
  • 40

6 Answers6

40

Run this:

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

George
  • 1,508
  • 16
  • 13
  • 5
    Run the XapDeploy.exe application. Select "Windows Phone Emulator" as the target and select what .xap application you would like to run. You might not want to have the emulator running when you deploy because that didn't work for me at first. – Travis Nelson Jun 19 '12 at 19:48
  • 1
    Works on Windows 8 / VS2012 / WP8 as well. Thanks. – Rich Sep 29 '12 at 00:08
10

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

legacybass
  • 582
  • 1
  • 7
  • 20
7

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.

Chris Ballard
  • 3,771
  • 4
  • 28
  • 40
3

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

Vipul
  • 31
  • 1
2

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.

1

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.
Bluesky7
  • 11
  • 2
  • This is a duplicate of the top rated anwser. Suggest you add the WP8 path as a comment to that answer. – Chris Ballard Dec 17 '13 at 14:36
  • I'm using WP8 Emulator and I have described in that way, which I used to follow for my deployment work. @Chris Ballard – Bluesky7 Dec 29 '13 at 06:32