Getting Started: Creating a project
Microsoft Visual Studio is to Windows as Xcode is to iOS and Mac OS. In this walkthrough, we help you get comfortable using Visual Studio. It shows you the absolute basics you'll need to know to get started. Each time you create an app, you'll follow steps similar to these.
The following video compares Xcode and Visual Studio.
Creating a Windows Store app is rather like creating an iOS app using Storyboard. The Windows Store app is often constructed over several pages, each page containing a different part of the user interface, like a web site. Each page has two associated source files: one to store the user interface defined using XAML, and one which contains the source code. As your user interacts with your app, they will navigate between these pages. In this walkthrough, you will create an app with two pages.
Begin by running Microsoft Visual Studio 2013. The first time you run it, Visual Studio will ask you to get a developer license. A developer license lets you install and test Windows Store apps on your local computer before you submit them to the Windows Store. To get a license, follow the on-screen directions to sign in with a Microsoft account. If you don't have one, click the Sign up link in the Developer License dialog box, and follow the on-screen directions.
For comparison, when you start Xcode, the first thing you see is the Welcome to Xcode screen, similar to the following figure.
Visual Studio is very similar. You'll see the Start Page, as shown in the following figure.
To create a new app, start by making a project by doing one of the following:
- In the Start area, tap New Project.
- Tap the File menu, and then tap New Project.
For comparison, when you create a new project in Xcode, you see a list of project templates like those shown in the following figure.
In Visual Studio, there are also several project templates to choose from, as shown in the following figure.
For this walkthrough, tap Visual C#, and then tap Store Apps, Universal Apps and Blank App (Universal Apps). In the Name box, type "MyApp", and then tap OK. Visual Studio creates and then displays your first project. Now you can begin to design your app and add code to it.