title: How to run NUnit test in Visual Studio Team Services
body: <p>When I try to execute <strong>NUnit</strong> test in VSTS task I am getting the following error:</p>
  
  <pre><code>Warning: The path 'C:\a\1\s\INCASOL.IP\packages' specified in the 'TestAdapterPath' does not contain any test adapters, provide a valid path and try again.
  </code></pre>
  
  <p>I have these tasks in VSTS:</p>
  
  <p><a href="https://i.stack.imgur.com/pEPFo.png" rel="noreferrer"><img src="https://i.stack.imgur.com/pEPFo.png" alt="enter image description here"></a></p>
  
  <p>The "Run unit test" task is configured as follows:
  <a href="https://i.stack.imgur.com/9g8Ix.png" rel="noreferrer"><img src="https://i.stack.imgur.com/9g8Ix.png" alt="enter image description here"></a></p>
  
  <p>Note I have set the "Path to Custom Test Adapters".</p>
  
  <p>I think the dlls for NUnit are properly copied to packages folder because in "Nuget restore" task I can see the following:</p>
  
  <pre><code>Added package 'NUnit.2.6.4' to folder 'C:\a\1\s\INCASOL.IP\packages'
  </code></pre>
  
  <p>Notes: The NUnit version is 2.6.4 and I'm using Hosted Agent</p>