LinkedIn principal author Doug Winnie describes how to create a Universal Windows app for Windows 10 using the “Blank App” starter template in Microsoft Visual Studio 2015 Community Edition for Visual C# development. When the project is created, Doug reviews some of the essential interface elements of Visual Studio including the Solution Explorer and the various views within the Visual Studio IDE.
- [Voiceover] To begin coding our project, we need to create the Visual Studio solution or the container that will be used. We then then to select the starter template that we are going to work with, give the project a name, and then let Visual Studio set it up for us. To start, make sure you have Visual Studio open. If you have the start page open, you can click the New Project link to create a new project, or you can open the File menu and select New, Project.
The project we're going to build uses C# as the programming language. So we need to make sure that C# is selected. In the middle column, we need to pick the Universal Windows, Blank Application starter template. When you select this, you'll see a short description on the right. There's also a check box to show telemetry information. We don't need that, so un-check that box. At the bottom, we need to give the project a name. So call it DiceOut.
I'm going to save it to the desktop, so I'm going to select Browse, Desktop, and click Select Folder. Go ahead and click OK to create the solution. Visual Studio will then go to Quark and create solution, the project and put the starter template in there for me automatically. I need to select which SDK version I want to use. Keep the defaults at Visual Studio as created, and click OK. I'll then have the project created, and will be placed inside of it.
Let's take a look at the interface of Visual Studio for a bit. In the center is the main code window. You'll use this to design the layout of your App, and write the code. On the right is the Solution Explorer which is a folder list of the items located inside of our project. We now have the solution created and are ready to begin coding.
Finally, you'll experiment with your app to learn more about how Windows apps work, and then find out where to go next.
- Installing Visual Studio Community edition
- Working with C#, XAML, and the Windows SDK
- Getting a head start with starter templates
- Testing apps with device emulators
- Creating your first app
- Building interactions, game logic, and scoring
- Adding custom components
- Modifying design parameters in XAML
- Experimenting and updating the final app