During development you typically deploy and run your app from Visual Studio. Optionally, you can also use the stand-alone Application Deployment tool to deploy your app to the emulator or to a registered device.Often when you write a Windows Phone  application you do not want to give users the full source code. In such cases it is possible to share only the build file and deploy it to a device or emulator. You can accomplish this using the Windows Phone Application Deployment tool that comes with the RTM version of Windows Phone Developer Tools.

However like windows phone 8.0 apps for windows phone store 8.1 apps there is no .xap file is created  after running the app.Windows phone store 8.1 apps are deployed through windows store. So that in this post i am going to explain about steps to deploy windows phone 8.1 .appx file.

Note:This post assumes you’re using Microsoft Visual Studio Express 2013 for Windows.

What is AppPackages and how to generate it?

In order to deploy an app, you need an App Package. Visual Studio has functionality to create an App Package you can use to deploy your app to another device.The following step are how to create a local App Package

Step1: Right click on your Project=>Store=>Create App Packages

Step2: In the Create App Packages wizard, you will want to create a local package. Therefore, answer “No” to the “Do you want to build a package to upload to the Windows Phone Store”. Notice the information text indicates this is the option for sideloading.


Step3: The next dialog provides a choice of processor platforms to target. In most cases, you would want to choose “Any CPU”. This will allow you to target all of the processor platforms and architectures. However, if you are using platform specific binaries in your app, you’ll need to build separate packages for each platform. 

Step4:In my example, I’ll just leave the default “Any CPU” and click “Create” 

 the wizard gives us a link to where the package was created.

If we click the link, here is an example of what was created:

Deploying an app with the Application Deployment tool:

  1. Build and package your app.

  2. If you’re deploying your app to a device, make sure that the device is registered and connected.

  3. On your computer’s Start screen, find the Application Deployment tool.

    You can also run the tool from the following location:

    C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.1\Tools\AppDeploy\AppDeploy.exe

  4. Run the tool.

    The tool starts, as shown in the following screenshot.

    App Deployment Tool for Windows Phone apps
  5. In the Target drop-down list box, select either Device or one of the emulator options.

  6. In the App field, click Browse and locate the package file that you want deploy.

   8.Click Deploy.

If the deployment is successful, the Status field displays App Deployment Complete.

Finally your app icon will be display in your device/emulator as


Happy Coding :)

See Also

Another important place to find a huge amount of Windows Phone related articles is the TechNet Wiki itself. The best entry point is Windows Phone Resources on the TechNet Wiki.