# Deploying WPF .NET Application

This article shows how to deploy a WPF .NET Application using Visual Studio.

## Create an Application

If you already have a WPF project, you can go directly to the [Deploy the Application](https://www.telerik.com/products/wpf/documentation/netcore/deploy-netcore-app#deploy-the-application) section of this article.

1. Create a new WPF project using the [Telerik Visual Studio Extensions](https://www.telerik.com/products/wpf/documentation/installation/manual-setup-guides/visual-studio-extensions/extensions-overview) (VSX). If the VSX is installed you will see the **Telerik C# WPF Application** template in the Visual Studio's project templates list.

   ![Telerik UI for WPF Visual Studio Extensions with the Telerik C# WPF Application template](https://www.telerik.com/products/wpf/documentation/assets/001b18a278016fe9123ad981d46cb3b0/netcore-support-deploy-using-visual-studio-0.png)

2. Select one of the application templates from the New Project Wizard. For this example, use the Calendar template.

   ![Telerik UI for WPF New Project Wizard with application templates](https://www.telerik.com/products/wpf/documentation/assets/c30c23418efa2b11d8914493eea406f9/netcore-support-deploy-using-visual-studio-1.png)

> caption Calendar application created with the new project wizard

![Telerik UI for WPF Calendar application created with the New Project Wizard](https://www.telerik.com/products/wpf/documentation/assets/cd276a5f69192d14d2125a9473092b28/netcore-support-deploy-using-visual-studio-2.png)

## Deploy the Application

1. Right click the project in Visual Studio and select the **Publish** option. This will open the **Pick a publish target** dialog.

   ![Telerik UI for WPF Visual Studio project menu with the Publish option selected](https://www.telerik.com/products/wpf/documentation/assets/5196c71aac658be5182bd1f4755555c8/netcore-support-deploy-using-visual-studio-3.png)

2. Choose the publishing approach and location. Then click **Finish**.

   ![Telerik UI for WPF Visual Studio publish dialog for choosing a publishing location](https://www.telerik.com/products/wpf/documentation/assets/837737359f8f27e14fdf14b53cb5463b/netcore-support-deploy-using-visual-studio-4.png)

   ![Telerik UI for WPF Visual Studio local folder publishing option](https://www.telerik.com/products/wpf/documentation/assets/a1ce8762104db93dddf822dedb350592/netcore-support-deploy-using-visual-studio-5.png)

   ![Telerik UI for WPF Visual Studio publish profile setup](https://www.telerik.com/products/wpf/documentation/assets/8bed133857264e9a109c746555104a2d/netcore-support-deploy-using-visual-studio-6.png)

3. In the publish page, you can find the profile settings. Click on **Show all settings** and change the **Deployment mode** to **Self-contained**. Then select a **Target Runtime**.

   ![Telerik UI for WPF Visual Studio publish profile settings with deployment mode and target runtime](https://www.telerik.com/products/wpf/documentation/assets/125271b88d8268545db8f84d2c971d28/netcore-support-deploy-using-visual-studio-7.png)

4. Save the configuration and click the **Publish** button. This will generate files in the publish location.

   ![Telerik UI for WPF published application files in the publish location](https://www.telerik.com/products/wpf/documentation/assets/dac501ba9e276a3876a794e028a460c8/netcore-support-deploy-using-visual-studio-8.png)

5. Copy the output files from the publish location to your deployment environment.

> tip You can package your application using the MSIX format. Read more, in the [What is MSIX?](https://docs.microsoft.com/en-us/windows/msix/overview) MSDN article.

## See Also

* [Migrating to .NET Core](https://www.telerik.com/products/wpf/documentation/netcore/migrate-to-netcore)
