Convert WPF from .NET Framework into .NET Core
Unload required project. After that you can edit “.csproj” file. Delete everything and write the next code:
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>netcoreapp3.0</TargetFramework>
<UseWPF>true</UseWPF>
</PropertyGroup>
</Project>
Delete “AssemblyInfo.cs” file in the “Properties” (.NET Core does not need it).
At the end you can delete “packages.config” (it should be the last because you are using it as a reference to what packages your project depends on).