Is there a way to remove the contents of an ItemGroup without resorting to Targets? I'm looking for something equivalent to:
<ItemGroup>
<MyItemGroup Remove="@(MyItemGroup)"/>
</ItemGroup>
Thanks
Now there is.
Item
Element outside targets has a newUpdate
attribute. Also, the restriction on theRemove
attribute has been eliminated.