从 azure devops 中的构建工件中排除 web.config 文件,我们将在 iis 上部署 aap

Exclude web.config file from build artifact in azure devops, wed aap deploy on iis

我想从我的构建工件中排除 web.config 文件,我可以在 CI 管道中的 .net 核心构建模板中或在网络应用程序部署任务中排除,如下图所示 enter image description here

能够使用以下方法排除 web.config 和其他文件:

-skip:objectName=filePath,absolutePath=\web.config

exclude file command