将.NET Framework 4.6.2迁移到.NET Standard 2.0 [英] Migrating .NET Framework 4.6.2 to .NET Standard 2.0

查看:144
本文介绍了将.NET Framework 4.6.2迁移到.NET Standard 2.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我们有一组在.NET Framework 4.6.2下创建的类库,我们希望将这些库移动到.NET Core 2.0或.NET核心标准2.0

We have a set of class libraries which are created under.NET Framework 4.6.2, we want to move these libraries into .NET Core 2.0 or .NET Core standard 2.0

我们有以下几种方式,


  1. 创建一个新项目并复制代码。
  2. 通过编辑CSPROJ转换现有项目 文件。

哪一个更好地迁移库,并且会对.NET内核的性能产生净标准影响。

Which one is better to migrate the libraries and will dot net standard impact on performance over the the.NET core.

有没有其他方法可以迁移这些集合。

Is there any alternatives to migrate these collections.




SrinivasReddyVelpula

SrinivasReddyVelpula

推荐答案

嗨  SrinivasReddy Velpula,

Hi SrinivasReddy Velpula,

感谢您在此发帖。

我建议您创建一个新项目并复制代码。当您更改为.net核心或.net核心标准时,请检查您在代码中使用的库。也许某些图书馆你不能在  .net core或.net核心标准中使用。

I suggest you to create a new project and copy over the code. And when you change to .net core or .net core standard, please check the library you used in your code. Maybe some library you could not use in .net core or .net core standard.

最好的问候,

Wendy


这篇关于将.NET Framework 4.6.2迁移到.NET Standard 2.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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