title: MSBuild copy task and condition name from file with wildcards
body: <p>I have a FilesToExclude2.txt file which contains all excludes like this :</p>
  
  <pre><code>*.settings
  *#*
  *.vbproj*
  *.csproj*
  *\Errors\*
  *\Errors
  *\_vti_*\*
  *\_vti_*
  *\CVS\*
  </code></pre>
  
  <p>In my tasks file, there is a copy task</p>
  
  <pre><code>  &lt;Target Name="CustomModuleCopy"&gt;
      &lt;ItemGroup&gt;
        &lt;ModuleFiles Include="$(SolutionModuleName)\$(ProjectModuleName)\**\*.*" /&gt;
        &lt;FileToExclude Include="$(BasePath)\$(SolutionModuleName)\FilesToExclude2.txt" /&gt;
      &lt;/ItemGroup&gt;
      &lt;ReadLinesFromFile File="@(FileToExclude)"&gt;
        &lt;Output TaskParameter="Lines" ItemName="FileContents" /&gt;
      &lt;/ReadLinesFromFile&gt;
  
      &lt;Copy SourceFiles="@(ModuleFiles)" DestinationFiles="@(ModuleFiles-&gt;'$(DestFolder)\$(ProjectModuleName)\%(RecursiveDir)%(Filename)%(Extension)')" Condition="'%(ModuleFiles.Identity)' != @(FileContents)" ContinueOnError="false" /&gt;
  
      &lt;!--CallTarget Targets="RemoveCustomModuleConfigFiles" /--&gt;
    &lt;/Target&gt;
  </code></pre>
  
  <p>Without the "condition" attribute on the copy task, everything's works fine, but I do not know how to implement the condition with wildcard and if it is possible</p>
  
  <p>Any kind of help would be greatly appreciated :) this is freaking me out for few hours...</p>