1
Vote

UnionMerge gets wrong value set

description

I just adapted the ILMergeUnionMerge element in ILMerge.props:
<!-- Types with the same name are all merged into a single type in the target assembly -->
<ILMergeUnionMerge>True</ILMergeUnionMerge>
Unfortunately, this does not work, due to UnionMerge attribute is set to $(ILUnionMerge), which is non-existant in MSBuild.ILMerge.Task.targets.

Replacing the assignment with UnionMerge="$(ILMergeUnionMerge)", everything works as expected.

comments