How to: Create a New WPF Application Project
Most solutions that involve Windows Presentation Foundation (WPF) use the WPF Application project. Creating a new project is easy using the Visual Studio IDE.
The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Working with Settings.
To create a new WPF Application project
Start Visual Studio 2010.
On the File menu, point to New, and then select Project.
The New Project dialog box appears.
In the Installed Templates pane, expand Visual Basic or Visual C#, and then select Windows.
Above the middle pane, select the target framework from the drop-down list.
In the middle pane, select the WPF Application template.
The WPF Application template in the .NET Framework 4 targets the Client Profile by default. For more information, see .NET Framework Client Profile.
In the Name text box, specify a name for the project.
In the Location text box, specify a folder to save the project.
The WPF Designer for Visual Studio opens and displays MainWindow of the project.
Visual Basic Note
Every executable file that you create with Visual Basic 2005 contains a namespace with the same name as your project. For more information, see Namespaces in Visual Basic.