Creating, Deploying, and Profiling an App

In Visual Studio, let’s create a new Visual C# Blank App project under the Universal Apps category and call it HelloRealWorld. This actually gives us a solution with the following three projects:

HelloRealWorld.Windows—A PC-specific project.

HelloRealWorld.WindowsPhone—A phone-specific project.

HelloRealWorld.Shared—A project referenced by both of the preceding projects.

The solution is ready to compile and run. Although pressing F5 or clicking the Start Debugging button in Visual Studio launches the app locally on the PC, you’ve got many options to choose from via the button’s dropdown menu, shown in Figure 1.1.

FIGURE 1.1 Options for launching your app in Visual Studio

The choices depend ...

Get Universal Windows® Apps with XAML and C# Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.