title: Visual Studio 2008 - Moving files at build to bin/
body: <p><strong>EDIT: This is a VS2008 app written in C#.</strong></p>
  
  <p>So I have a folder in my solution called</p>
  
  <pre><code>_lib/ 
  </code></pre>
  
  <p>It's where I keep my DLLs so that when I reference them, they get built into the <code>bin/</code> folder.</p>
  
  <p>Now I have a new item in my solution. It's a DLL but shouldn't be reference (it's required for a 3rd party app). So on build I want this to be copied from <code>_lib/</code> to <code>bin/</code> but NOT referenced in the project.</p>
  
  <p>I've included the <code>_lib/</code> folder in my app, and for the properties of that DLL I selected always copy. This ALMOST worked, it copies the file with the folder, so my structure looks like:</p>
  
  <pre><code>/bin/_lib/thedll.dll
  </code></pre>
  
  <p>Instead of </p>
  
  <pre><code>/bin/thedll.dll
  </code></pre>
  
  <p>Any ideas?</p>