.net - 点网核心vs点网标准

标签 .net .net-core

我已经读过dotnetstandard是功能的子集。

我很明白。

dotnet框架完整> dotnetstandard> dotnetcore

但是例如Google API工作表支持dotnetstandard v1.3的dotnetcore吗?

我必须安装什么才能允许使用dotnetstandard 1.3的应用程序在dotnetcore下运行?

最佳答案

Dotnet Core vs DotNetStandard



两者不是彼此“相对”。而是,.NET Core“包含” .NET标准库(as well as extra stuff that is not in .NET Standard)的实现。这是维恩图。

enter image description here

...how is it possible that e.g. google API sheet support dotnetcore with dotnetstandard v1.3?



这是可能的,因为.NET Core 1.0支持.NET标准库的1.3版。

the following table中,netcoreapp是.NET Core,net是.NET Framework,而netstandard是.NET Standard Library。如您所写,.NET标准库是功能的子集。

重要提示:每个平台都宣传其所支持的.NET标准库的最高版本。
netstandard     1.0     1.1     1.2     1.3     1.4     1.5     1.6     2.0
netcoreapp      →       →       →       →       →       →       1.0     2.0
net             →       4.5     4.5.1   4.6     4.6.1   4.6.2   vNext   4.6.1

以下是一些示例,以检查您的理解。
  • .NET Core 1.0最多支持.NET标准库1.6
  • .NET Framework 4.6.1最多支持.NET标准库1.4

  • .NET标准库1.3支持...
  • .NET Core 1.0和2.0
  • .NET Framework 4.6、4.6.1、4.6.2和vNext

  • ...what do i have to install to allow applications using dotnetstandard 1.3 run under dotnetcore?



    您必须install .NET Core

    关于.net - 点网核心vs点网标准,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42493785/

    相关文章:

    .net - PowerShell .NET 文本框中的粗体文本

    c# - 从 Action 过滤器中查看模型

    c# - 推迟任务的启动<T>

    c# - 如何使用 C# 在 SQL Server 数据库中存储哈希值?

    c# - Asp.net core 2.0 Configure.Services<model>() 绑定(bind)不适用于用户 secret

    linq - SELECT 结果映射到 Entity Framework Core 中 Dynamic Linq 中的实体

    c# - Entity Framework 核心添加到.Net核心Web Api-IRelationalTypeMappingSource问题

    c# - 如何在自定义用户控件(.Net 4、Winforms)上使用项目集合编辑器?

    c# - 如何初始化 Task<List<string>> 参数?

    c# - C# 中将操作包装在上下文/作用域中的最佳方法