Net SDK发布补丁之间的区别是什么?

huangapple go评论60阅读模式
英文:

What's the difference between the Net SDK release patch

问题

当您前往下载最新版本的 .NET SDK(例如 6.0.14)时,您将有下载 6.0.406、6.0.309 和 6.0.114 的选项。

根据.Net Runtime SDK 的版本化页面,最后的增量表示 MINOR 和 PATCH 的组合。

如果它是一个补丁,为什么它有不同的版本?406 不应该包括在 309 和 114 中所有的补丁吗?

最后的数字到底是什么意思?我如何知道我应该选择它们中的哪一个?

英文:

When you go to download <https://dotnet.microsoft.com/en-us/download/dotnet/6.0> the latest version of the Net SDK (for example 6.0.14) you get the option to download 6.0.406, 6.0.309, and 6.0.114.

According to How the .Net Runtime SDK is versioned page the last increment means <s>patch</s> a combination of MINOR and PATCH.

If it's a patch why does it have different versions? Shouldn't 406 include everything patched also in 309 and 114?

What does the last number really mean? How do I know which one of them I should take?

答案1

得分: 0

这似乎与.NET版本化概述中提到的SDK补丁版本有关,它基于对应的Visual Studio次要版本。看起来实际的补丁版本(114、309)是基于支持该SDK的最早的Visual Studio版本的次要部分。除了4xx是独立的情况。除非不是这样。

所以对于.NET版本6.0.13或6.0.14,捆绑在Visual Studio补丁升级中的SDK版本是100*VS.Minor+100,例如:

  • SDK 309 包含在VS 2022 17.2.13中,SDK 114 包含在VS 17.0.19中。
  • SDK 406 是独立的。

然而,在6.0.11中,它支持VS 17.3,使用的是403(3*100 +100)。

推荐的下载链接指向4xx版本,所以我猜低的数字只在您使用早期的VS版本时需要。

英文:

It seems the SDK patch version mentioned in the Overview of how .NET is versioned is based on the corresponding Visual Studio minor version. It looks like the actual patch (114, 309) is based on the minor part of the earliest Visual Studio version that supports that SDK. Except for 4xx, which is standalone. Except when it isn't.

So for .NET versions 6.0.13 or 6.0.14, the SDK versions that come bundled in a Visual Studio patch upgrade are 100*VS.Minor+100, for example:

  • SDK 309 comes in VS 2022 17.2.13 and SDK 114 in VS 17.0.19
  • SDK 406 is standalone.

In 6.0.11 though, which is supported in VS 17.3, 403 was used (3*100 +100).

The recommended download link points to the 4xx version so I guess the lower numbers are only needed if you use an earlier VS version

huangapple
  • 本文由 发表于 2023年3月8日 15:52:01
  • 转载请务必保留本文链接:https://go.coder-hub.com/75670486.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定