Given this Itemgroup:
<ItemGroup>
<Foo Include="First">
<Value>1</Value>
</Foo>
<Foo Include="Second">
<Value>2</Value>
</Foo>
</ItemGroup>
How can I get the Value
metadata for the second item (2)? I'm thinking along the lines of:
<Message Text="%(Foo.Value)" Condition="'' == 'Second'" />
But I don't know how to write the Condition attribute.
Thanks!