Floating FB popout byF5debug

101 How to on Windows Phone – How to #87 – How to Deploy a Windows Phone application to Windows Phone Device from Visual Studio

 

In our earlier article we have seen how to deploy the Windows Phone application to the Virtual device (basically called the Windows Phone Emulator). In this tutorial we will see how to deploy the same application to the Windows phone physical device and see what are the prerequisites to set the device ready to deploy. The physical device must be connected to the development environment through USB cable and the device should be in unlocked state. Also we need to register the development device as a registered member with Microsoft account.    [more]

For testing Windows Phone 8 application, we need to connect the device to the development machine and it will be using the Windows Phone IP Over USB Transport service that will be installed while installing the Windows Phone 8.0 SDK in the development machine. For testing Windows Phone 7.1 application we need to connect to the development machine and we need to install the ZUNE software which is used to connect the device for deployment. Let us see how we can achieve this task step by step, Open Visual Studio IDE in administrator mode and open the project which we created in our previous tutorial as we are going to deploy the same application to the device as shown in the screen below.

image

Now lets assume that our application is ready and available to deploy to the physical device, to start with first build the application in debug or release mode and select the option from the available target as device from the Standard tool bar in the top ribbon menu as shown in the screen below.

image


If the device is not connected properly we will get the deployment error in the Error List window while executing the application from Visual Studio as shown in the screen below.

image

Once the device is connected properly we can deploy the application directly to the device and test the application as a real working model. We can then remove the application by normal uninstall or deletion from the application list.

About Author: Karthikeyan Anbarasan, Microsoft MVP (Most Valuable Professional) in ASP.NET/IIS Architecture. He is the Founder and Chief Editor of the www.f5debug.net website and has authored books on Windows Phone and Business Intelligence(SSIS). He is also a Passionate Speaker and a Blogger on Microsoft Technologies.

You can Join Me On: Facebook, Twitter, Google Plus, LinkedIn

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

Recent Posts

Random Posts

Most Viewed

URL Shortner

Create your own short urls!!!

Site Counter

free counters

Disclaimer

This is a personal weblog. The opinions expressed here represent my own and not those of my employer. For accuracy and official reference refer to MSDN/ TechNet. I have documented my personal experience on this blog.

Protected by Copyscape Web Plagiarism Finder

Site Meter