# How to Migrate a Telerik UI for WPF Project to .NET 4.6.2 and .NET

## Environment

<table>
	<tbody>
		<tr>
			<th scope="row">Product</th>
			<td>UI for WPF</td>
		</tr>
	</tbody>
</table>

## Description

With the 2024 Q2 release (May 2024), Telerik UI for WPF no longer supports **.NET Framework 4.0 and 4.5** and **.NET Core 3.1**. The minimum supported versions are **.NET Framework 4.6.2** and **.NET 8**.

You need to migrate your project to a supported target framework.

## Solution

If you currently use .NET Framework, upgrading to .NET 8 or later is recommended because it provides easier project maintenance and performance improvements.

### Migrate from .NET Core 3.1 to .NET 8

There is no API difference between Telerik dlls for these targets, so you only need to change the project target framework and update Telerik references.

1. Download and install the corresponding [.NET developer pack](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) (.NET 8 or later).

2. Right-click the WPF project in Visual Studio and select **Properties**.

   ![WPF project context menu with the Properties option](https://www.telerik.com/products/wpf/documentation/assets/3797478e01f35383b31f28d382c60a6b/upgrade-migrate-to-net-2.png)

3. In **Target framework**, select **.NET 8** (or later), then save the project file.

   ![Project properties for selecting the .NET target framework](https://www.telerik.com/products/wpf/documentation/assets/cc605cfbcb302be8d5a3e173190efa1b/upgrade-migrate-to-net-3.png)

4. Update the referenced Telerik assemblies using your preferred installation approach (we recommend [using NuGet](https://www.telerik.com/products/wpf/documentation/installation/manual-setup-guides/nuget/nuget-installation)).

5. If needed, manually delete the **bin** and **obj** folders before rebuilding to ensure Visual Studio cache is cleared.

### Migrate from .NET Framework 4.0/4.5 to .NET 8

Create a new .NET 8 (or later) project and include the files from the .NET Framework project. Then [install the Telerik .NET assemblies](https://www.telerik.com/products/wpf/documentation/installation/manual-setup-guides/installation-guide) in the new project.

For full guidance, see [Migrating to .NET](https://www.telerik.com/products/wpf/documentation/netcore/migrate-to-netcore).

### Migrate from .NET Framework 4.0/4.5 to .NET Framework 4.6.2

There is no API difference between Telerik dlls for these targets, so you only need to change the project target framework and update Telerik references.

1. Download and install the corresponding [.NET Framework developer pack](https://dotnet.microsoft.com/en-us/download/dotnet-framework/net462) (4.6.2 or later).

2. Right-click the WPF project in Visual Studio and select **Properties**.

   ![WPF project context menu with the Properties option](https://www.telerik.com/products/wpf/documentation/assets/d3ead4e0fa2764095e87e5b35402076b/upgrade-migrate-to-net-0.png)

3. In **Target framework**, select **.NET Framework 4.6.2** (or later), then save the project file.

   ![Project properties for selecting the .NET Framework target version](https://www.telerik.com/products/wpf/documentation/assets/41c64179ff25d7bd809cfa905eddde2b/upgrade-migrate-to-net-1.png)

4. Update the referenced Telerik assemblies using your preferred installation approach (we recommend [using NuGet](https://www.telerik.com/products/wpf/documentation/installation/manual-setup-guides/nuget/nuget-installation)).

5. If needed, manually delete the **bin** and **obj** folders before rebuilding to ensure Visual Studio cache is cleared.

## See Also

* [Overview of porting from .NET Framework to .NET](https://learn.microsoft.com/en-us/dotnet/core/porting/)
* [Migrate to .NET Framework 4.8, 4.7, and 4.6.2](https://learn.microsoft.com/en-us/dotnet/framework/migration-guide/)
