Windows PhoneTutorial 1: Creating a Windows Phone Application Project

This tutorial intends to build the classic “Hello World” application and also introduce you to the tools and procedures required to build and test Silverlight, for Windows Phone applications. The Windows Phone Application Platform enables Awesome applications and games , Fast, high quality, and feature-rich applications.

During the course of this  Windows Phone tutorial, series, you will see how to use Microsoft Visual Studio 2010 Express for Windows Phone and Expression Blend to build and design your Windows Phone applications.

Creating a Windows Phone Application Project in Visual Studio :

In this task, you use a predefined template in Microsoft Visual Studio 2010 Express for Windows Phone to create a Silverlight for Windows Phone Application project that will be the starting point of this application.

1. Open Visual studio 2010 express edition for Windows Phone

2. In the FILE Menu choose a new project , and select the Silverlight for Windows Phone category in the list of installed templates, then set the name to HelloPhone and click OK.

newproject 600x378 Windows PhoneTutorial 1: Creating a Windows Phone Application Project

Visual Studio 2010 does not save your project automatically unless visual studio 2008 0r 2005. In VS2008 you just need to create a new application and it will be saved in the destination you set.But in VS 2010 when you close the application VS prompts you to save , discard or cancel the changes.Though you can change this behavior in VS 2010 too by following steps :

Tools > Options (Check Show all settings) > Projects and Solutions > General subcategory  >Save new projects when created.

3. Now when the project is built , you will see some windows a basic phone and a window called Solution explorer. In Solution Explorer, you will be able to seethe structure of the solution generated by the Windows Phone Application template. Any Visual Studio solution is a container for related projects; in this case, it contains a single Silverlight for Windows Phone project named HelloPhone.


solution explorer Windows PhoneTutorial 1: Creating a Windows Phone Application Project

4.  Now in solution explorer you have a file named as app.xaml. Here you will find the information regarding colors, brushes, and style elements of the basic design of the phone template.

The  other files contained in the Solution Explorer will be covered in the next Windows Phone Tutorial 2.


Posted by on , in Category Phone with Tags
This post has been submitted by a Guest Author. If you would like to submit a guest post, you may contact me on the mail ID mentioned in the About page.
  • http://beingpc.com/ Mad Geek @beingPC

    Better give the download links to get started for newbies

  • VT@TWC

    @madgeek : Those are being given in my last start up article..:)
    http://www.thewindowsclub.com/windows-phone-7-series-tutorial-building-deploying-applications

  • stephen

    Love your blog I’m going to come back

  • Niki

    is it possible to make an app in c++? mostly because thats the langauge im programming in

  • Anon

    Having a link a link to the next tutorial in the series on this page would be helpful.

  • http://www.thewindowsclub.com/about Windows Club

    ^ Will do that first thing tomorrow morning :)

  • guest

    How do i add a background that i made in paint?

  • Ndeno

    No, only C# and Visual Basic.

  • Eder

    I want to develop an application to send SMS, I am a programer for Windows Applications only, I need to know, if that it is possible? this is my email, otoniel_amigo1@hotmail.com
    thanks community.

  • Eder

    Hi, I am a programer for windows Application only, Can you tell me, If it is possible to create an application to send SMS for windows phone from Visual Studio 2010?
    are there API, names spaces, or class, or any resources for that??
    this is my email: otoniel_amigo1@hotmail.com
    I’m going to save fallow you from now, very very thanks.

  • Recent Comments