Skip to content

Latest commit

 

History

History
58 lines (34 loc) · 2.93 KB

deploy-netcore-app.md

File metadata and controls

58 lines (34 loc) · 2.93 KB
title page_title description slug tags published position
Deploying WPF .NET Application
Deploying WPF .NET 8 Application
This article shows how to deploy Telerik WPF .NET 6 Application using Visual Studio.
netcore-support-deploy-using-visual-studio
get,started,first,steps,net,core,deploy
true
3

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 section of this article.

  1. Create a new WPF project using the [Telerik Visual Studio Extensions]({%slug radcontrols-for-wpf-vs-extensions-overview-wpf%}) (VSX). If the VSX is installed you will see the Telerik C# WPF Application template in the Visual Studio's project templates list.

    {{ site.framework_name }} Create New Telerik NET Application

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

    {{ site.framework_name }} Telerik Select New Project Template

Figure 1: Calendar application created with the New Project Wizard

{{ site.framework_name }} Calendar application created with the New Project Wizard

Deploy the Application

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

    {{ site.framework_name }} Select Project Publish Option

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

    {{ site.framework_name }} Choose a Publish Location

    {{ site.framework_name }} Choose Folder Deploy Directory

    {{ site.framework_name }} Setup the Deploy Profile

  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.

    {{ site.framework_name }} Profile Settings Configuration

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

    {{ site.framework_name }} Generated Files in Publish Location

  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? MSDN article.

See Also

  • [Migrating to .NET Core]({%slug netcore-support-migration%})