The previous tutorials covered how a developer would create a project file in Visual Studio and explained parts of the project in terms of the Solution Explorer and its various aspects. This tutorial will cover how a developer can now build a project and then test its code for errors.
Deploying with Windows Phone 7 Emulator:
1. Since Visual Studio is open, go to View and the select Output.
2. The Output Window will be opened.
3. From this Window, you can use the keys SHIFT + F6 to compile the project or use Debug to test the project for bugs
4. Go through the Output window, and note down messages you receive when building the project
5. The Output Window will then display a list of all errors, a list that is also accessible from the View menu.
6. When Deploying the app, check that you are using the Windows Phone Emulator. To do thus, all you have to do is click on Select Device menu near the Start Debugging button at the toolbar and then select the Windows Phone Emulator as the target platform for deployment
7. Use the F5 key to deploy the application to Windows Phone Emulator. A slight pause will occur during which Visual Studio will set up the emulator environment.
8. The Application image will now be deployed. After this, press the Shift + F5 keys to put a stop to the debugging procedure. Make sure that the emulator window is still open.
9. You can now proceed to the next tutorial
- Windows Phone 7 Develop and Deploy WP7 Apps – Tutorial Series 1
- How to Easily Debug and Delpoy Apps in Windows Phone 7 Via Visual Studio [Tutorial 7]
- WP7 Tutorial 4: User Interface (UI) Design
- WP7 Tutorial 2: Solution Explorer – An Overview
- Windows Phone 7 – Create a Silverlight Windows Phone 7 App Project
- How to Handle Events from within the Interface in Windows Phone 7 [Tutorial 5]