Getting Started with WPF | ComponentOne Studio Edition
Creating a WPF Project in Visual Studio / Using Visual Studio Templates
In This Topic
    Using Visual Studio Templates
    In This Topic

    Complete the following steps to create a WPF project in Visual Studio using Visual Studio templates:

    1. Open Visual Studio 2022.
    2. Select the Create a new project option from the Get started pane.

      VS WPF Template

    3. Select the programming language from the languages drop-down list, as per your requirements, such as C# or Visual Basic.
    4. Select Windows from the platforms drop-down list to view the associated templates.
    5. Select WPF Application template from the list of installed templates and click Next to create .NET application in WPF. On the other hand, you can create .NET Framework application in WPF by selecting the WPF App (.NET Framework) template from the list of installed templates.

      VS WPF Template

    6. Type the name of project in the Project name text box.
    7. Set the location of project in the Location drop-down list using the Browse button and click Next.

      VS WPF Template

    8. Select the framework for the WPF application as .NET 8.0 (Long Term Support) in the Framework drop-down list and click Create to get started with a new WPF project.

      VS WPF Template

    Note: You can create WPF application in Microsoft Expression Blend and Visual Studio. However, Microsoft Expression Blend only provides the design-time environment to visually design XAML documents.

    See Also