Visual Studio Team Services Release/Deploy fails - “No package found with specified pattern”

前端 未结 5 1582
轮回少年
轮回少年 2021-02-12 13:50

I\'m trying to implement continuous integration and continuous deployment to my DEV Azure App Service. I\'m using the hosted agent on Visual Studio Team Services. The \"Deploy W

5条回答
  •  北海茫月
    2021-02-12 13:52

    Had the same problem few hours ago. This how I was able to resolve the issue:

    1. Ensure MSBuild arguments in Build solution step are: /p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactstagingdirectory)\"

    2. Add step Azure App Service Deployment: ARM

    3. Configure subscription and App Service Name
    4. Package or Folder should be $(build.artifactstagingdirectory)\**\*.zip

    Steps:

    Azure App Service Deployment Configuration:

提交回复
热议问题