Windows Phone App Development for Beginners #4 First Visual Studio project
published on: 12/22/2011 | Views: N/A | Tags: Beginners
by WindowsPhoneGeek
This is the 4th post from the "Windows Phone Application Development for Beginners" series of articles in which I use a more informal approach in order to explain everything you need to know in order to get started developing Windows Phone applications in a simple and easy to understand way.
- Windows Phone App Development for Beginners #1: Intro
- Windows Phone App Development for Beginners #2 Installing the Tools
- Windows Phone App Development for Beginners #3 Getting Help
- Windows Phone App Development for Beginners #4 First Visual Studio project
- Windows Phone App Development for Beginners #5 Basic XAML
- Windows Phone App Development for Beginners #6 Layout
NOTE: If you are a professional Windows Phone Developer you should probably stop reading now.(this series if for absolute beginners)
After you have installed the Windows Phone SDK you are ready to start building your first Windows Phone application project with Visual Studio.
Creating your First Visual Studio project
Step1. Start and instance of Visual Studio
Step2. Go to File->New and select Project.
Step3. Next you should see the following popup window. You should select "Silverlight for Windows Phone" from the Installed Templates on the left:
Currently Visual Studio offers the following Windows Phone project templates to get a head start on design and development(Silverlight or XNA Framework applications for Windows Phone):
- Windows Phone Application
- Windows Phone Databound Application
- Windows Phone Class Library
- Windows Phone Panorama Applicatio
- Windows Phone Pivot Application
- Windows Phone Silverlight and XNA Application
- Windows Phone Audio Playback Agent
- Windows Phone Audio Streaming Agent
- Windows Phone Scheduled Task Agent
- Because this series is for beginners we will use the basic Windows Phone Application template. If you want to know more then take a look at : Project Templates for Windows Phone
Step4. Fill the Name of your project and press OK
Step5. Next press OK to confirm that you want to use Windows Phone OS 7.1:
Step6. Your first VisualStudio project should look like this:
Image source: MSDN
Step7. Go to Solution Explorer, right click over the project file and select "Build" in order to compile the project:
Step8. After the project is compiled successfully either press "F5" or press the "Start Debugging" button(Visual Studio provides tools for testing and debugging applications as you build them).
Step9. By default the Visual studio emulator is shown:
That's it for now. In the next posts you will learn how to start building your first Windows Phone app step by step.
Hope the post was helpful.
You can also follow us on Twitter @winphonegeek
Comments
New! WindowsPhoneGeek Component Marketplace
Our Top Articles & Free books
- Our FREE e-book: "Windows Phone Toolkit In Depth" 2nd edition
- 400+ Windows Phone Development articles in our Article Index
- 21 WP7 Toolkit in Depth articles covering all controls
- 12 WP7 Coding4Fun Toolkit in Depth articles covering all controls
- Performance Tips when creating WP7 apps
- Creating a WP7 Custom Control in 7 Steps
- WP7 working with VisualStates: How to make a ToggleSwitch from CheckBox
- What makes a WP7 App successful
- Creating theme friendly UI in WP7 using OpacityMask
- Implementing Windows Phone 7 DataTemplateSelector and CustomDataTemplateSelector
Our Top Tips & Samples
- All about WP7 Isolated Storage series
- WP7 Dynamically Generating DataTemplate in code
- 5 tips for a successful WP7 Marketplace submission
- WP7: Navigating to a page in different assembly
- WP7 ContextMenu: answers to popular questions
- WP7 ListBox: answers to popular questions
- WP7 working with Images: Content vs Resource build action
- WP7 Element Binding samples
- WP7 working with XML: reading, filtering and databinding
- Drawing in WP7: #2 Drawing shapes with finger
- WP7 TextBox Light theme problems - the solution
- Changing the WP7 Panorama Background Image dynamically with Animation
