TFS2017 是什么决定了 perm 上可用的 dotnet(核心)构建步骤版本?
TFS2017 What determines the dotnet (core) build step versions available on perm?
什么决定了 TFS2017 on prem 中可用的“.net core”构建步骤的版本?
我已经修补了最新的 tfs,在构建和 tfs 服务器上安装了 .net 核心版本 2.2,但我只能在 TFS 构建步骤中看到 v0.* 和 v1.*。
编辑澄清:这是我感兴趣的构建步骤模板的版本,而不是服务器上的 sdk/framework/dotnet exe。
任务是版本化的,管道中的每个任务都有一个版本 select或者让你选择你想要的版本。并且您必须指定管道中使用的任务的主要版本。这有助于防止发布任务的新版本时出现问题。
Tasks are typically backwards compatible, but in some scenarios you may encounter unpredictable errors when a task is automatically
updated.
When a new minor version is released (for example, 1.2 to 1.3), your
build or release will automatically use the new version. However, if a
new major version is released (for example 2.0), your build or release
will continue to use the major version you specified until you edit
the pipeline and manually change to the new major version. The build
or release log will include an alert that a new major version is
available.
更多详情可以参考这位官方link--Task versions
What determines the dotnet (core) build step versions available on perm
一般与你的TFS版本有关。新版本 TFS 默认包含新版本任务。这是有道理的,因为对于某些旧的TFS,当它发布时,新版本任务尚未发布或正在开发中。
例如,使用我的 Azure DevOps 2019 update1,您将能够 select 此 .NET Core CLI 任务的版本 2(最新)。
如果确实需要最新版本,也可以考虑打包任务DotNetCoreCLIV2,自己上传。但我们无法保证对旧版本TFS的兼容性,某些场景您可能会遇到不可预知的错误。
什么决定了 TFS2017 on prem 中可用的“.net core”构建步骤的版本?
我已经修补了最新的 tfs,在构建和 tfs 服务器上安装了 .net 核心版本 2.2,但我只能在 TFS 构建步骤中看到 v0.* 和 v1.*。
编辑澄清:这是我感兴趣的构建步骤模板的版本,而不是服务器上的 sdk/framework/dotnet exe。
任务是版本化的,管道中的每个任务都有一个版本 select或者让你选择你想要的版本。并且您必须指定管道中使用的任务的主要版本。这有助于防止发布任务的新版本时出现问题。
Tasks are typically backwards compatible, but in some scenarios you may encounter unpredictable errors when a task is automatically updated.
When a new minor version is released (for example, 1.2 to 1.3), your build or release will automatically use the new version. However, if a new major version is released (for example 2.0), your build or release will continue to use the major version you specified until you edit the pipeline and manually change to the new major version. The build or release log will include an alert that a new major version is available.
更多详情可以参考这位官方link--Task versions
What determines the dotnet (core) build step versions available on perm
一般与你的TFS版本有关。新版本 TFS 默认包含新版本任务。这是有道理的,因为对于某些旧的TFS,当它发布时,新版本任务尚未发布或正在开发中。
例如,使用我的 Azure DevOps 2019 update1,您将能够 select 此 .NET Core CLI 任务的版本 2(最新)。
如果确实需要最新版本,也可以考虑打包任务DotNetCoreCLIV2,自己上传。但我们无法保证对旧版本TFS的兼容性,某些场景您可能会遇到不可预知的错误。