Reputation: 18485
Why is my Azure DevOps CI build publishing my code as a zip archive?
what am I doing wrong?
This generates a WebApi.zip. I would like to have folders because I want to copy and create folder in my structure.
Upvotes: 1
Views: 830
Reputation: 3398
Please use FileSystem
rather than PackageLocation
like below:
/p:SkipInvalidConfigurations=true /p:DeployOnBuild=true /p:WebPublishMethod=FileSystem /p:publishUrl="$(build.artifactstagingdirectory)\\" /p:DeployDefaultTarget=WebPublish
Upvotes: 2