# Using Visual Studio Templates

## Content



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](https://cdn.mescius.io/document-site-files/images/de6bd900-fc60-46ca-ad9b-dbc4f177a74f/images/wpf_vs_start.png)
    
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](https://cdn.mescius.io/document-site-files/images/de6bd900-fc60-46ca-ad9b-dbc4f177a74f/images/wpf_vs_templateselect.png)
    
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](https://cdn.mescius.io/document-site-files/images/de6bd900-fc60-46ca-ad9b-dbc4f177a74f/images/wpf_vs_setprojectname.png)
    
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](https://cdn.mescius.io/document-site-files/images/de6bd900-fc60-46ca-ad9b-dbc4f177a74f/images/wpf_vs_selectframework.png)
    


> type=note
> **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

[Using ComponentOne Templates](/componentone/docs/wpf/online-studio/CreatingaWPFProjectinVisualStudio/componentone_templates)