title: Sharing code between 2 projects without a dll
body: <p>How can I have code-sharing between two projects without making a dll?</p>
  
  <p>The issue is: I have a tool that syncs users &amp; groups from LDAP to a database.</p>
  
  <p>Now the tool is a windows service, but testing it as such is very difficult and time consuming.</p>
  
  <p>Which is why I made a console application where I can test the LDAP syncing, and then just copy the respective sourcecode-files over to the service project.</p>
  
  <p>But... keeping the common files in sync is a bit of a problem.
  I don't want to make  a dll, because this probably creates me a problem with 
  the 3rd project, a windows installer (for the service) where I have to use ExecutingAssembly path...</p>
  
  <p>Is there a way to share the code without making a separate dll?
  Automagic statical linking, so to say ?</p>