Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 2.57 KB

migrate-to-netcore.md

File metadata and controls

42 lines (28 loc) · 2.57 KB
title page_title description slug tags published position
Migrating to .NET
Migrating to .NET
This article shows how to migrate from an existing Telerik WPF .NET Framework project to a .NET 6 and later.
netcore-support-migration
get,started,first,steps,migrate,core,standard,visual,studio,
true
1

Migrating to .NET

This article shows how to migrate from an existing WPF .NET Framework project to a .NET one (.NET 6 or later).

  1. Create a new .NET application using Visual Studio.

    Figure 1: Creating new project

    {{ site.framework_name }} Creating new project

    tip You can also use the Telerik Visual Studio Extensions to create a new project. Read more about this in the [Integration]({%slug radcontrols-for-wpf-vs-extensions-project-creation%}) section of the documentation.

  2. Add the existing files from the original project as linked files to the .NET project.

    Figure 2: Linking files from the original project

    {{ site.framework_name }} Add Existing Items To Project

    {{ site.framework_name }} Linking files from the original project

  3. Reference the Telerik assemblies built against .NET.

    If Telerik UI for WPF is installed on the machine, you can find the dlls in the "UI for WPF installation folder\Binaries\NET+version number" folder. Otherwise, [download the .zip file]({%slug installation-installing-from-zip-wpf%}) with the dlls or install them via the [NuGet package manager]({%slug nuget-installation%}).

    Figure 3: Checking if a Telerik assembly is built against .NET

    {{ site.framework_name }} Checking if a Telerik assembly is built against .NET 6

  4. Several controls rely on third party NuGet packages. These are automatically installed when adding the Telerik assemblies via NuGet or the Telerik Visual Studio Extension. In case you reference the assemblies manually, one or more of the following packages should be installed manually: System.Data.OleDb, System.Drawing.Common and System.ServiceModel.Http.

tip The getting started experience in RadRichTextBox for .NET has been improved compared to its .NET Framework alternative. Check the [.NET Support]({%slug radrichtextbox-getting-started-net-core-support%}) help topic for more details on the changes you might encounter.

See Also

  • [Deploy WPF .NET Application]({%slug netcore-support-deploy-using-visual-studio%})
  • [Using RadRichTextBox in .NET]({%slug radrichtextbox-getting-started-net-core-support%})