I have configured two on-premises deployments of our ASP.NET Web API services. One to our staging server and one to our production server. Both are deployed without any problems.
I've recently begun investigating how to deploy these services to Azure as we'd like to make more use of cloud services going forwards. So I've setup a deployment to the Azure account I created as in the screenshot.
It connects to the Azure account but then fails stating that it cannot find any files to deploy as in the screenshot below.
When I look in the folder the files are definitely there. They are the same files that were deployed to the staging and production endpoints.
I can't understand why the Azure deployment fails to find these files, yet our on-premises deployments do.
I could deploy web app to Azure app service on my side, here is the detailed steps, you could refer to it.
Visual Studio Build
Note : you could find PackageLocation ($(build.artifactstagingdirectory)) from MSBuild Arguments
Azure App Service Deploy
Note: specify Package or Folder based on the value of PackageLocation you find from MSBuild Arguments