In this tutorial we are going to see how to use the Application Deployment tool with Windows Phone Application Development. With this tool we can deploy our application to test it with the registered windows phone device or as well with the Windows Emulators in 512MB ram emulator and also with a 256MB ram emulator. This tool is mainly used to test the application which we develop on to the Emulators and also with the real device which is registered before deploying it to the market place which can avoid the certification failure while deploying the application to the market place. [more]
Application deployment tool is installed by default while we install the Windows Phone SDK on to the development machine and it will be available in one of the following paths as per the installation on to the respective servers.
- Program Files\Microsoft SDKs\Windows Phone\v7.1\Tools\XAP Deployment
- Program Files (x86)\Microsoft SDKs\Windows Phone\v7.1\Tools\XAP Deployment
We can use this application deployment tool to load upto 10 application on to the registered developers device which basically will not reduce the installed application performances. If we are going to deploy the application on to the device then we need to have a registered Zune account which basically will start the Zune Client. Now let us use this tool to deploy the application which we developed to the emulators instead of the real device, in future we will see how to deploy it to the device. Navigate to the respective path and open the application deployment tool which looks like below.
If we can see we can select the Target which is basically where our application need to be deployed. If we select the combo box we can see different options like Windows Phone Device, Windows Phone Emulator – 512MB Ram and Windows Phone Emulator – 256 MB Ram as shown in the screen below.
Since we are going to deploy our application to the Emulator we will select the Windows Phone Emulator – 512 MB option and next is to take the packaged application (basically the .XAP file) which will be generated once we are done with the application with building and executing. We can find the developed applications .XAP file in the bin folder as shown in the screen below.
Now we are done with selecting the required options and we can see the screen looks like below. Click on Deploy to proceed further which deploys the application to the Emulator.
Clicking on Deploy will open the Windows Phone Emulator and we can see the application as well as the status of the deployment one by one as shown in the screen’s below.
So we are done with our deployment, now we are good to go to test the application completely on this instance of the Windows Phone Emulator. Similarly we can change the emulator target the 256 MB ram device as well and test it completely. That’s it from this tutorial on Windows Phone see you all in the next tutorial soon. Mean while Happy Programming!!!