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
.csproj
file.Please refer the documentation on CopyToPublishDirectory.
I have tried the following and I was able to include a directory called
.well-known
which was created in mywwwroot
folderAdd this to your
.csproj
file to include the.well-known
directoryPublish your project