I have migrated my .NET Core 3.1 web api project to .NET 5, when I configured my release pipeline in azure DevOps, I have received the below error.
2021-02-18T16:07:51.6102920Z ##[section]Starting: Deploy Azure App Service 2021-02-18T16:07:51.6257075Z ============================================================================== 2021-02-18T16:07:51.6257406Z Task : Azure App Service deploy 2021-02-18T16:07:51.6257755Z Description : Deploy to Azure App Service a web, mobile, or API app using Docker, Java, .NET, .NET Core, Node.js, PHP, Python, or Ruby 2021-02-18T16:07:51.6260779Z Version
: 4.181.0 2021-02-18T16:07:51.6261044Z Author : Microsoft Corporation 2021-02-18T16:07:51.6261283Z Help : https://aka.ms/azureappservicetroubleshooting 2021-02-18T16:07:51.6261567Z ============================================================================== 2021-02-18T16:07:52.7413841Z ##[error]Error: More than one package matched with specified pattern: D:\a\r1\a***.zip. Please restrain the search pattern. 2021-02-18T16:07:52.7518620Z ##[section]Finishing: Deploy Azure App Service
These are the steps I did for .NET 5 deployment in Azure DevOps.
- Created Azure Web App with .NET 5 (Early Access)
- Created Pipeline in Azure DevOps
- Created Artifact from new release pipeline
- Selected Azure App Service deployment template
- Selected Dev stage
- Run on agent settings
- Azure App Service Deployment Settings
- Created a new release
- Received error
10 ) Error in detail
This is the problem that I'm facing right now. Anybody has an idea how to resolve ?