Step 1: Creating a New WPF Solution

  1. From the Visual Studio menu select File | New | Project.... This launches Visual Studio's New Project dialog:

  2. If you want to create a C# project, select Visual C# in the Project Types pane. If you want to create a VB .NET project, select Visual Basic.

  3. In the Templates pane on the right, select MM .NET WPF Application.

  4. In the Name text box, enter the name you want to give your new project. By default, Visual Studio gives the solution containing the new project the same name.

  5. In the Location text box, enter the directory in which you want to create the new project (or click the Browse button to select a directory). Visual Studio creates a new folder under this directory that is given the same name as your project and solution.

  6. Click OK to continue. This closes the dialog and opens the New MM .NET Windows Presentation Foundation dialog:

    This is an MM .NET-specific dialog that allows you to specify a default, or root namespace.

  7. Specify a Default Namespace (Root Namespace in VB .NET). The builder automatically stores this namespace in your WPF project properties.

  8. Click OK to create your new project(s). When project creation is complete, you can see your new project(s) in the Visual Studio Solution Explorer:


© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 07/31/17
Comment or report problem with topic