title: C# solution referencing a pre-built .exe
body: <p>I have a project which is the core of our application.  We build several DLLs and an EXE.</p>
  
  <p>We then have custom projects which use pre-built core DLLs and EXE and add customisations/extra bits as required.  These customisations are always DLLs, the core EXE is always used.  The core DLLs/EXE are referenced by the custom solution.</p>
  
  <p>I'm having a bit of a problem while debugging getting the custom DLLs to load.  Because the EXE is pre-built we use one the projects as the startup project which points to the location of the EXE and the rest of the DLLs.  However it then doesn't seem to the load the startup project DLLs.</p>
  
  <p>How should I be setting my custom solution/projects up when the EXE is already built?</p>
  
  <p>(NOTE: the custom DLLs provide components which are loaded reflectively from metadata if you're wondering)</p>
  
  <p>UPDATE:  Current approach is to have a post-build event in the "top-level" project of the custom solution which copies all the core DLLs and EXE into the bin/Debug directory.  Then set that top level project as the startup project and point to the copied EXE in bin/Debug.  It then finds the DLL because it is in the same directory as the EXE (along with all the others).</p>