As mentioned in the subject line, my Azure DevOps Pipeline is throwing a ‘##[error]Project file(s) matching the specified pattern were not found’. when Publishing my App!
Here is a portion of the azure-pipelines.yml specifically the “Publish” task for the project.
...
- task: DotNetCoreCLI@2
name: "Publish"
displayName: "Publish"
inputs:
command: 'publish'
publishWebProjects: false
projects: '$(Parameters.projects)'
arguments: '--configuration: $(BuildConfiguration) --output:
$(Build.ArtifactStagingDirectory)'
zipAfterPublish: false
...
If anyone has any ideas as to why the task is failing please leave a comment or an answer.