title: TeamCity doesn't copy all referenced libraries
body: <p>I have a solution with a web application, from within the webapp I'm referencing another project that references and external library.</p>
  
  <pre><code>WebApp -&gt; SupportingProject -&gt; ExternalDll
  </code></pre>
  
  <p>everything is fine when I build the solution in debug/release inside visual studio, but when it gets built in TeamCity one of the references doesn't get copied over. all other files referenced by the supporting project are copied except that single one.</p>
  
  <p>I was able to get around this by directly adding a reference to that library, but wanted to figure out the underlying cause of it.</p>
  
  <p>all the references are marked as copy local.</p>
  
  <p>I'm using the Visual Studio (sln) build runner in teamcity.</p>