Installing a Windows Phone 8 Application to an Emulated or Physical Device
The following procedure describes how to install a Windows Phone 8 application.
Note: | A virtual emulator is installed with the Windows Phone SDK 8. |
Note: | If you need to install a certificate, this documentation provides information about installing certificates on the Windows Phone emulator. See Installing Certificates on Windows Phone
Emulator. For additional information, see the device provider's web pages. |
To install a Windows Phone 8 application
1. When building your project using the Mobile Designer +Multi-Build Ant task, be sure to select the Retain output build files check box.
When the build completes successfully, Mobile Designer retains a folder named _temp_ in the same folder as your build. The folder _temp_/_csharp_edit_ contains a .csproj file, which is a Visual Studio project file.
2. Open the Visual Studio project file (.csproj file) in Visual Studio Express 2012 for Windows Phone using one of the following methods:
From Windows Explorer, right-click the Visual Studio project file and select
Open with > Microsoft Visual Studio 2012 Express for Windows Phone.
From Microsoft Visual Studio 2012 Express for Windows Phone, do the following:
i. Select File > Open Project Dialog.
ii. Navigate to the correct _temp_/_csharp_edit_ folder to select the root directory.
iii. Click Open.
3. Do one of the following based on whether you are installing to a emulated or physical device.
To install to an emulated device, select
Debug > Start Debugging.
The Windows Phone Emulator launches and your application starts.
To install to a physical device, ensure the device is connected to the machine and turned on.
ii. Connect the device via USB. Ensure the device is active. Ensure the that the screensaver is not active.
iii. In Visual Studio 2012 Express for Windows Phone, select your target, either a device or an emulator, then click anywhere else to build, deploy the application to the device, and start the execution of the application.