我有这样的任务:
<ItemGroup>
<Folder Include="d:\Trunk">
<BranchName>MyBranch</BranchName>
</Folder>
<Folder Include="d:\8.1">
<BranchName>MyBranch</BranchName>
</Folder>
</ItemGroup>
<Message Text="BranchName: %(Folder.BranchName), Folder: @(Folder)" />
我所期待的:
BranchName: MyBranch, Folder: d:\Trunk
BranchName: MyBranch, Folder: d:\8.1
我有什么:
BranchName: MyBranch, Folder: d:\Trunk;d:\8.1
我知道展平项目标识是 MSBuild 的一个功能。但是有可能摆脱这个吗?通过 MetaData 值展平项目没有意义......