Charan Giri
Charan Giri

Reputation: 1097

installing .xap file in Windows Emulator

I'm new to windows mobile development and testing, My requirement is to test an .xap file in emulator.

Can someone help me with windows.

  1. How to create .xap file
  2. .xap file path/location
  3. how to install in emulators.

As i know for Android we can use unsigned APK to install in emulators and for iOS we can't install .IPA on simulators. This is My XAP location folder

Visual studio Configuration enter image description here

error message while deploying in Application Deployment enter image description here

Upvotes: 0

Views: 5049

Answers (2)

Amit Bhatiya
Amit Bhatiya

Reputation: 2621

First of all to develop windows phone 8 application you would be needed to have windows 8 Operating System (64 bit) with Hyper-v and SLAT Support.

Visual Studio Express 2012 for Windows Phone 8 would be needed for creating apps for windows phone 8.

Create a blank windows phone app project or go for this How to create your first app for Windows Phone 8

Build you Project and if there is no error Run it into Emulator by Pressing F5 key and keeping target as Emulator WVGA 512MB. Your App is Deployed into Emulator.

The .xap files are located in [Your project folder]/Bin/Debug for debug mode xap and [Your project folder]/Bin/Release for Release mode xap.

You can also Deploy Xap file using Application Deployment Tool Included in windows phone 8 SDK. Just Browse your xap location and Deploy it to Emulator

Upvotes: 1

Kasun Kodagoda
Kasun Kodagoda

Reputation: 4024

When you build your project in VS you will automatically create the .xap file. You have 2 .xap files. one in Debug mode and other in Release mode.. When yyou upload you have to upload the release .xap to the market place.

The .xap files are located in [Your project folder]/Bin/Debug for debug mode xap and [Your project folder]/Bin/Release for release mode .xap.

YOu can directly install your xap file in to the emulators provided by the SDK using Visual Studio and test out your app. You have the option to select a Developer Unlocked Phone as the test device also.

You can manually install a xap file to either a developer unlocked Windows Phone or the Emulator using Windows Phone Application Deployment (For WP8.1) Application Deployment (WP8.0) software installed with the SDK

Follow this link to know how to manually install the app in your Device/Emulator

Upvotes: 1

Related Questions