title: Getting error when running XUnit.net msbuild task for Assemblies
body: <p>I'm getting an error when running xunit.net tasks using MSBuild tasks, as detailed in the xunit wiki: <a href="http://xunit.codeplex.com/wikipage?title=HowToUseMSBuild" rel="nofollow">http://xunit.codeplex.com/wikipage?title=HowToUseMSBuild</a></p>
  
  <p>My MSBuild file is:</p>
  
  <pre><code>&lt;Project
      DefaultTargets="Test"
      xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt;
  
    &lt;UsingTask
      AssemblyFile="xunit.runner.msbuild.dll"
      TaskName="Xunit.Runner.MSBuild.xunit" /&gt;
  
    &lt;ItemGroup&gt;
      &lt;TestAssemblies Include="..\**/*.tests.dll" /&gt;
    &lt;/ItemGroup&gt;
  
    &lt;Target Name="Test"&gt;
      &lt;xunit Assemblies="@(TestAssemblies)" xml="..\TestResults.xml" /&gt;
    &lt;/Target&gt;
  
  &lt;/Project&gt;
  </code></pre>
  
  <p>when I run the msbuild script the build runs successfully and my test results are returned (Test count, failure count etc).</p>
  
  <p>However after displaying the results I get the message to:</p>
  
  <blockquote>
    <p>C:\Program Files (x86)\Jenkins\jobs\My First Jenkins
    Build\workspace\src\MyWeb App\Solution Items\xunit.msbuild" (default
    target) (1) -> (Test target) ->   C:\Program Files
    (x86)\Jenkins\jobs\My First Jenkins Build\workspace\src\MyWe
    bApp\Solution Items\xunit.msbuild(14,5): error :
    System.ArgumentException: Coul d not find file: C:\Program Files
    (x86)\Jenkins\jobs\My First Jenkins Build\wor
    kspace\src\MyWebApp\MyWebApp.Tests\obj\Debug\xunit.dll   C:\Program
    Files (x86)\Jenkins\jobs\My First Jenkins Build\workspace\src\MyWe
    bApp\Solution Items\xunit.msbuild(14,5): error :    at
    Xunit.ExecutorWrapper..c tor(String assemblyFilename, String
    configFilename, Boolean shadowCopy)   C:\Program Files
    (x86)\Jenkins\jobs\My First Jenkins Build\workspace\src\MyWe
    bApp\Solution Items\xunit.msbuild(14,5): error :    at
    Xunit.Runner.MSBuild.xun it.ExecuteAssembly(String assemblyFilename,
    String configFilename, IRunnerLogge r logger)</p>
  </blockquote>
  
  <p>I'm not sure why it's looking for xunit.dll, can anyone shed any light?  When I use <code>&lt;xunit Assembly&gt;</code> rather than <code>&lt;xunit Assemblies&gt;</code> it works okay.</p>