I'm configuring an azure devops pipeline and want to zip the package for the publish. When I choose to zip, a directory that I have in the code (/wwwroot/.well-known) is not included in the zip.
Is there an option that exclude hidden folders?
I'm configuring an azure devops pipeline and want to zip the package for the publish. When I choose to zip, a directory that I have in the code (/wwwroot/.well-known) is not included in the zip.
Is there an option that exclude hidden folders?
I don't think the Azure DevOps task for running .NET commands has the option to include/exclude files while publishing. You can however configure that in your
.csprojfile.Please refer the documentation on CopyToPublishDirectory.
I have tried the following and I was able to include a directory called
.well-knownwhich was created in mywwwrootfolderAdd this to your
.csprojfile to include the.well-knowndirectoryPublish your project