【问题标题】:Can a class library developed in .net core 2.2 be referenced by an app written in .net core 3.0?.net core 2.2 开发的类库可以被.net core 3.0 编写的应用引用吗?
【发布时间】:2020-11-20 17:53:51
【问题描述】:

我正在开发 .net core 3.0 API,需要参考使用 .net core 2.2 开发的类库。会不会有兼容性问题?谢谢!

【问题讨论】:

    标签: c# .net asp.net-core asp.net-web-api .net-core


    【解决方案1】:

    您可以从 .net core 3.0 项目中引用 .net core 2.2 库,但反之则不行。

    另外,2.2 is no longer supported 所以考虑升级

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-07-17
      • 2020-01-26
      • 2021-01-23
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多