title: Compile a referenced dll
body: <p>Using VS2005 and VB.NET.</p>
  
  <p>I have a project that is an API for a data-store that I created. When compiled creates <code>api.dll</code>.</p>
  
  <p>I have a second project in the same solution that has a project reference to the API project which when compiled will create <code>wrapper.dll</code>. This is basically a wrapper for the API that is specific to an application.
  When I use <code>wrapper.dll</code> in that other application, I have to copy <code>wrapper.dll</code> and <code>api.dll</code> to my new application. How can I get the wrapper project to compile the <code>api.dll</code> into itself so that I only have one <code>dll</code> to move around?</p>