如何在Visual Studio 2019中将.NET Framework 4.7.2项目迁移到.NET Core 3.0 [英] How to migrate .NET Framework 4.7.2 project to .NET Core 3.0 in Visual Studio 2019

查看:348
本文介绍了如何在Visual Studio 2019中将.NET Framework 4.7.2项目迁移到.NET Core 3.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个针对.NET Framework 4.7.2的Windows Forms应用程序。由于.NET Core 3.0支持Windows窗体,因此我想尝试一下。是否有任何方法可以将VS2019项目从.NET Framework转换为.NET Core,或者唯一可行的方法是创建一个新的.NET Core项目并添加旧项目中的文件?

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?

我只问有关VS项目的迁移,而不是任何潜在的不兼容性问题。

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

推荐答案

官方工具发布了:尝试转换

检查出最新版本

在官方工具发布之前,这里是一些替代者的链接迁移-von-NET-Framework-zu-NET-Core-per-PowerShell

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

这篇关于如何在Visual Studio 2019中将.NET Framework 4.7.2项目迁移到.NET Core 3.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆