.netvisual-studio.net-corevisual-studio-2019

How to migrate .NET Framework 4.7.2 project to .NET Core 3.0 in Visual Studio 2019


I have a Windows Forms application targeted for .NET Framework 4.7.2. As .NET Core 3.0 supports Windows Forms I'd like to try it. Is there any way to convert VS2019 project from .NET Framework to .NET Core or the only way possible is to create a new .NET Core project and add files from the old one?

I'm asking only about VS project migration, not any potential incompatibility issues.


Solution

  • [EDIT] Official tool released: try-convert

    Check out releases for latest version.

    Until official tool is published, here is link from some guy that has made alternative Migration-von-NET-Framework-zu-NET-Core-per-PowerShell