0
votes

I'm starting on Azure Devops.

With Azure Devops, how can I delete some files after the solution build and before generate a zip file, but all this in the same step?

In the image step, do the solution build and generate a zip with the package, ready to deploy, but I need delete some files inside this zip file.

MSBuild process print screen with arguments:

MSBuild process print screen with arguments

Zip file with all files to be deployed in the server and the zip that I need delete some files:

Zip file with all files to be deployed in the server and the zip that I need delete some files

Maybe I will need unzip the package, delete the files and zip the package?

1

1 Answers

0
votes

This MSBuild task will build project with MSBuild. And reviewing this doc: MSBuild Properties we find that currently there is no such argument implementing this feature.

In the meanwhile, we find this doc guides how to exclude Files and Folders from a Web Package.