I am attempting to deploy my web app to an Azure Web App via Azure Dev Ops, however, my build only produces the wwwroot folder and the web.config. The yaml for the build is as follows:
steps:
- task: VSBuild@1
displayName: 'Build WebClient Project'
inputs:
solution: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.csproj
vsVersion: 16.0
msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:PackageLocation="$(build.artifactstagingdirectory)\\" '
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'
Are there other MSBuild args that I should be including? The project directory looks like this:
I have tried to read through the MSBuild documentation and haven't been able to find an argument that seems to fit.
Edit: When deploying directly through visual studio, the deploy runs without a hitch