没有找到具有指定模式的包

ruf*_*fen 8 deployment azure azure-web-sites azure-devops azure-pipelines-release-pipeline

我正在使用部署azure应用程序服务到Team Services中的插槽构建步骤,我希望能够将PackageAsSingleFile设置为False来构建我的解决方案.但是,当我尝试使用创建工件的路径发布包时,我得到"没有找到具有指定模式的包".

我是否需要创建两个工件,一个作为zip文件,一个作为文件包,以便能够做我想要的?我尝试过不同的文件夹路径,但无论如何我都会得到同样的错误.

在此输入图像描述

sta*_*SFT 7

请参考以下步骤:

  1. NuGet Installer任务恢复包
  2. Visual Studio构建任务(解决方案:***.sln; Visual Studio版本:Visual Studio 2015; MSBuild参数:/ p:DeployOnBuild = True/p:DeployDefaultTarget = WebPublish/p:WebPublishMethod = FileSystem/p:DeleteExistingFiles = True/p :publishUrl ="$(build.artifactstagingdirectory)\";平台:$(BuildPlatform);配置:$(BuildConfiguration))
  3. 发布构建工件(发布路径:$(build.artifactstagingdirectory);工件名称:drop;工件类型:服务器)
  4. 编辑/创建发布定义
  5. 将工件链接到以前的构建
  6. Azure App Service Deploy(包或文件夹:$(System.DefaultWorkingDirectory)/**/drop)
  7. 取消选中" 使用Web Deploy发布"选项