I would like to copy Angular UI dist folder content into published content, specifically wwwroot when using VSbuild task as shown below
- task: VSBuild@1
inputs:
solution: '$(solution)'
msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.ArtifactStagingDirectory)"'
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'
My two questions are
- whether this task is responsible for publish that we do manually in Visual Studio, and hence can I expect wwwroot folder to be present in the corresponding target location?
- How do I say zip : false in the above command so that I can copy the required content and then zip later?
Thanks, AK