title: Project dependency missing in deployment project
body: <p>I've got a VS2008 deployment project that builds an installer for a couple of Windows services.</p>
  
  <p>Each service references several different projects:</p>
  
  <pre>
  CustomerName.MailSendingService
   -> CustomerName.Network
   -> CustomerName.Data
   -> CustomerName.Security
  
  CustomerName.ProductIntegrationService
   -> CustomerName.Core
   -> CustomerName.Security
  </pre>
  
  <p>The Windows service projects, the projects they reference, and the deployment project are all in the same VS2008 solution.</p>
  
  <p>I've added the primary output from the Windows service projects in the deployment project's file system editor. </p>
  
  <p>My expectation is that the primary output for the Windows service projects would include the DLLs from the referenced projects. However, when the deployment project is built, the DLL from one of the referenced projects is missing. (<code>CustomerName.ProductIntegrationService</code> is missing <code>CustomerName.Security</code>)  </p>
  
  <p>Maddeningly, the DLLs for the other projects referenced by the Windows service are present; just one project's output is missing.</p>
  
  <p>(Edit) I've verified that the reference is set to Copy Local in the reference properties window. The DLL for the referenced project is placed in the windows service project's <code>bin\Release</code> folder, but isn't packaged in the MSI file built for the deployment project.</p>
  
  <p>(Edit 2) Following Joseph Daigle's suggestion, I checked that the dependency is in the dependencies list for the primary output, and it's not marked "excluded," so that doesn't appear to be the cause of this issue.</p>
  
  <p>Why would just one project's output be missing?</p>