title: Azure Devops : ##[error]Error: No package found with specified pattern: d:\a\r1\a\**\*.zip
body: <p>I have tried to Deploy an ARM template from GitHub with Azure DevOps Pipeline (CI/CD).  when i click the deploy button I get the following error.</p>
  
  <p><a href="https://developercommunity.visualstudio.com/content/problem/349729/error-no-package-found-with-specified-pattern-dar1.html" rel="nofollow noreferrer">https://developercommunity.visualstudio.com/content/problem/349729/error-no-package-found-with-specified-pattern-dar1.html</a></p>
  
  <p>##[error]Error: No package found with specified pattern: d:\a\r1\a***.zip</p>
  
  <p>I did as per the suggestion in the following link but doesnt work for me . Added - task: PublishBuildArtifacts@1 to last line of the azure-pipelines.yml file</p>
  
  <p>azure-pipelines.yml</p>
  
  <pre><code>trigger:
  - master
  
  pool:
    vmImage: 'windows-latest'
  
  variables:
    solution: '**/*.sln'
    buildPlatform: 'Any CPU'
    buildConfiguration: 'Release'
  
  steps:
  - task: NuGetToolInstaller@1
  
  - task: NuGetCommand@2
    inputs:
      restoreSolution: '$(solution)'
  
  - task: VSBuild@1
    inputs:
      solution: '$(solution)'
      msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:DesktopBuildPackageLocation="$(build.artifactStagingDirectory)\WebApp.zip" /p:DeployIisAppPath="Default Web Site"'
      platform: '$(buildPlatform)'
      configuration: '$(buildConfiguration)'
  
  - task: VSTest@2
    inputs:
      platform: '$(buildPlatform)'
      configuration: '$(buildConfiguration)'
  
  - task: PublishBuildArtifacts@1
  </code></pre>
  
  <p>Screenshot</p>
  
  <p><a href="https://i.stack.imgur.com/8fGz5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8fGz5.png" alt="enter image description here"></a></p>