VSTS部署服务结构应用程序任务:压缩包设置失败

问题描述 投票:1回答:1

我们正在尝试设置包含服务结构应用程序的CI / CD构建/发布。不幸的是,我遇到了绊脚石。我在任务的“高级设置”中选择了“压缩包”选项,但是当托管版本代理运行时,我收到以下消息:

##[warning]The CompressPackage parameter requires version '2.5' of the Service Fabric SDK, but the installed version is '2.4.164.9494'. This parameter will be ignored.

我在这里错过了什么?这是安装在我无法控制的AFAIK的托管代理上的SDK。如果该选项不起作用,为什么该选项可用?

azure-devops azure-service-fabric azure-pipelines-release-pipeline
1个回答
1
投票

根据警告消息,您正在使用安装了Service Fabric SDK 2.4.164的Hosted Agent运行构建。

要解决此问题,您可以使用安装了SDK版本:3.2.162.9494的Hosted 2017 Agent运行构建。或者,如果Hosted 2017 Agent不符合您的要求,您也可以配置Private Agent

© www.soinside.com 2019 - 2024. All rights reserved.