title: Teamcity/c# build doesn't copy my DLL to the bin folder
body: <p>I have a C++ wrapper DLL added to one of my projects, the proect is my "Set as startup" project. </p>
  
  <p>To do this I just right clicked on the project and did "Add exisitng item" and then in the properties I have
  Build Action = None
  Copy to Output Directory = Copy always</p>
  
  <p>The code in this project does not directly use this dll, it's used in another project that's part of the solution and I cannot add it to the References as it's not a proper .NET dll. </p>
  
  <p>My TeamCity build doesn't include this dll when it builds my project and I don't know why. I changed the build script so that it just copies the dll from a location to the bin folder but that doesn't work, when I run my app I get a run time error "could not find dll" even though I can actually see it in the bin folder. </p>
  
  <p>So I cannot just copy it to the bin folder, I need to tell Team City to include that dll when the project is built, as it does when I compile it from Visual Studio</p>
  
  <p>So my question is how can I tell Team City to include the dll when it complies my project?</p>
  
  <p>I'm using VS2010, .NET 4</p>