Deploying a .NET Core 3.1 API Application to an Azure WebApp fails when using DevOps CI/CD Release Pipeline but succeeds when Publishing from Visual Studio
Create a new resource of type “Web App”
Ok, so that works, now here's what happens when trying to deploy using DevOps CI/CD Release Pipeline..
… create another Web App resource junk-devops-cicd
...
So it fails going through CI/CD pipeline. But not VS Publish Manager
Your .net core application build task is wrong. i guess solution is not getting build successfully . try visualstudio build instead of netBuild
And make sure your Artifact Build directory path been set correctly. root path should be $(Build.ArtifactStagingDirectory)