title: Disabling MSTest temp directory in TeamCity
body: <p>I'm using TeamCity Professional for building and testing my code continually.</p>
  
  <p>I have some MSTest based tests that work fine in VS2010 on my PC but fail on the build server.  </p>
  
  <p>I snooped around and discovered that upon testing, TeamCity creates a temporary directory in it's <code>TEMP_DIR</code> (configurable) and copies only the "first relation" dependencies to the test DLL.</p>
  
  <p>For instance: my test uses <code>NHibernate.dll</code> which is copied to the temp directory but its dependencies (i.e <code>NHibernate.ByteCode.Castle</code>) don't get copied, and the test fails with an <code>IO.FileNotFound</code> exception.</p>
  
  <p>Is there any way I can just run the tests from the test projects output directory (Test/bin/debug)?</p>
  
  <p>If not, how can I specify which DLLs should be copied to the temp directory?  </p>