0
在Web部署期间,我想更改一些ACL设置。我找到了描述这个过程的this article。澄清web部署项目设置
该制品包括下面的代码片断:
<PropertyGroup>
<!- Extends the AfterAddIisSettingAndFileContentsToSourceManifest
action to also set ACLs–>
<IncludeCustomACLs>TRUE</IncludeCustomACLs>
<AfterAddIisSettingAndFileContentsToSourceManifest Condition=“‘$(AfterAddIisSettingAndFileContentsToSourceManifest)’==”“>
$(AfterAddIisSettingAndFileContentsToSourceManifest);
SetCustomACLs;
</AfterAddIisSettingAndFileContentsToSourceManifest>
</PropertyGroup>
我的问题涉及条件属性。从评论看来,意图是将SetCustomACLs添加到AfterAddIisSettingAndFileContentsToSourceManifest属性中。但是从条件来看,这个块只在AAISAFCTSM尚未设置时才被评估,所以这不像“set-if-null”那样是一个“扩展”。
那么评论和标记不同意,还是我错过了什么?