title: How to reference an item in an ItemGroup based on the Label attribute?
body: <p>In my cpp project file I have an item group defined as such:</p>
  
  <pre><code>&lt;ItemGroup&gt;
  &lt;None Include="file1.dll" Label="Release Version"/&gt;
  &lt;None Include="file2.dll" Label="Debug Version"/&gt;
  &lt;/ItemGroup&gt;
  </code></pre>
  
  <p>I have an AfterBuild target whereby I want to copy the above files into different locations based on the label attribute of the item. For example:</p>
  
  <pre><code>&lt;Target Name="AfterBuild"&gt;
  &lt;Copy SourceFiles="@(None)" DestinationFiles="$(ReleaseLocation)" Condition="'%(None.Label)'=='Release Version'" ContinueOnError="false" /&gt;
  &lt;/Target&gt;
  </code></pre>
  
  <p>However this doesn't work (nothing is copied). How do I reference the Label attribute in my Copy command?</p>