Part 1: Create a new app
In this step, learn how to create a new project, and explore the Visual Studio development environment.
This walkthrough assumes that you’re going to test your app on the Windows Phone emulator. If you want to test your app on a phone, you have to take some additional steps. For more info, see Register your Windows Phone.
The steps in this topic assume that you’re using Microsoft Visual Studio Express 2013 for Windows. You may see some variations in window layouts or menu commands if you’re using Microsoft Visual Studio Professional 2013 or a higher edition, or if you’ve already customized the layout or menus in Visual Studio.
The first step in creating a Windows Phone app is to create a new project in Visual Studio.
To create the project
- Make sure you’ve downloaded and installed the Windows Phone SDK. For more information, see Get the SDK.
- Launch Visual Studio from the Windows Start screen. If the Registration window appears, you can register the product, or you can temporarily dismiss the prompt.
- Create a new project by selecting the FILE | New | Project menu command.
- In the New Project window, expand the installed Visual C# or Visual Basic templates, and then expand Store Apps. Select the Windows Phone Apps templates.
- In the list of Windows Phone Apps templates, select the Blank App (Windows Phone) template.
- At the bottom of the New Project window, type MiniBrowser as the Name of the project.
- Click OK. The new project is created, and opens in Visual Studio. You see the following items:
- The main window contains the code editor and displays App.xaml.cs or App.xaml.vb. In this code file you can define global event handlers.
- The right pane includes Solution Explorer, which lists the files in the project.
- In Solution Explorer, double-click MainPage.xaml to open it. This page contains the user interface for the first page of your app. The main window is divided into two parts:
- The right pane contains the XAML markup that defines the user interface for the page.
- The left pane contains a skin that shows the output of the XAML markup.
Congratulations, you're done with the first step of building your first Windows Phone Store app! You learned how to create a new project and you explored the Visual Studio development environment.
In the next step of this tutorial, you learn how to lay out the controls for the simple user interface of your app. Go to Part 2: Lay out the user interface.