Step 1: Creating a New WPF Solution
- From the Visual Studio menu select File | New | Project.... This launches Visual Studio's New Project dialog:
- 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.
- In the Templates pane on the right, select MM .NET WPF Application.
- 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.
- 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.
- 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.
- Specify a Default Namespace (Root Namespace in VB .NET). The builder automatically stores this namespace in your WPF project properties.
- 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
