将.NET Framework 4.6.2迁移到.NET Standard 2.0

编程入门 行业动态 更新时间:2024-10-24 22:20:10
本文介绍了将.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

我们有以下几种方式,

  • 创建一个新项目并复制代码。
  • 通过编辑CSPROJ转换现有项目文件。
  • 哪一个更好地迁移库,并且会对.NET内核的性能产生净标准影响。

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

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

    Is there any alternatives to migrate these collections.

    SrinivasReddyVelpula

    SrinivasReddyVelpula

    推荐答案

    嗨 SrinivasReddy Velpula,

    HiSrinivasReddy Velpula,

    感谢您在此发帖。

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

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

    最好的问候,

    Wendy

    更多推荐

    将.NET Framework 4.6.2迁移到.NET Standard 2.0

    本文发布于:2023-11-05 09:16:46,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1560457.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:Framework   NET   Standard

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!