title: TFS Build Server 2013 and XUnit
body: <p>I'm having trouble setting up TFS Build server on a locally hosted build machine.</p>
  
  <p>I have the usual test structure i.e.</p>
  
  <pre><code>--\HellowWorld\HelloWorld.sln
  --\HellowWorld\HelloWorld.csproj
  --\HelloWorld.Tests\HellowWorld.Tests.csproj
  </code></pre>
  
  <p>I am using visualstudio online and a local buildserver for the builds and deploys.</p>
  
  <p>I have no problem getting a c# .net application to download the source, build and deploy.</p>
  
  <p>I have created a folder for XUNIT with the necessary dlls and checked into TFS</p>
  
  <p>In the  dialogue for the Build Server for 'Version control path to custom assemblies' as follows</p>
  
  <blockquote>
    <blockquote>
      <p>$/IT Development/Bin/XUnit</p>
    </blockquote>
  </blockquote>
  
  <p>In this folder are the following dlls</p>
  
  <pre><code>xunit.abstractions.dll
  xunit.runner.utility.dll
  xunit.runner.visualstudio.settings.dll
  xunit.runner.visualstudio.testadapter.dll
  </code></pre>
  
  <p>The following blog post suggests this should be enough</p>
  
  <pre><code>http://social.msdn.microsoft.com/Forums/vstudio/en-US/02bce20c-1e5b-47cc-8f64-0ff8aa5a19cf/tfs-2012-build-to-run-xunittest?forum=tfsbuild
  </code></pre>
  
  <p>I get the following in the Build output</p>
  
  <blockquote>
    <p>>
     $/IT Development/HelloWorld/HelloWorld/HelloWorld.sln compiled
    $/IT Development/HelloWorld/HelloWorld/HelloWorld.sln - 0 error(s), 6 warning(s), View Log File
     No Test Results
     No Code Coverage Results
    Impacted Tests
    No tests were impacted</p>
  </blockquote>