title: TFS2015 Visual Studio Test: Could not load file or assembly
body: <p>I have an "old" XAML Build Definition, made in Visual Studio; which builds a solution and following runs unit tests.
  Now I've tried to make the same in the new TFS 2015 web surface.
  I've created a build task, following Visual Studio Test.</p>
  
  <p>But now the Test-Task exit with code 1 and gives me a lot of 
  "System.IO.FileNotFoundException: Could not load file or assembly" errors.
  And also "Warning: MSTestAdapter failed to discover tests in class ..."</p>
  
  <p>All the DLLs are where they have to be, the new definition has the same directory structure like the old one, but the test-task says there are missing assemblys.</p>
  
  <p>Any ideas?</p>
  
  <p>Update:
  No, I still have the same error messages:</p>
  
  <pre><code>Warning: Unable to load types from the test source 'J:\xyz-Tests.dll'. Some or all of the tests in this source may not be discovered. If you are running unit tests for Windows Store apps and referencing custom WinMD type then please visit http://go.microsoft.com/fwlink/?LinkId=238340 for more info. Error details: System.IO.FileNotFoundException: Could not load file or assembly 'xyz_Commons, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  System.IO.FileNotFoundException: Could not load file or assembly 'xyz_Processing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  System.IO.FileNotFoundException: Could not load file or assembly 'xyzCommons, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  </code></pre>