title: visual studio copy local
body: <p>In visual studio, when you add a reference there is a flag in the properties called, "Copy Local".  There is some confusion about what this actually does and when.  It seems easy to understand but my question is when does it copy local.  Is it when the reference is added or does it copy the dll locally when the project is built. </p>
  
  <p>The reason for this question is we have created a asp.net template file that refences a dll that is on all of our devs local workstations in exactly the same place.  We thought that by setting the flag to "Copy Local", this would reference the location where the dll lives but when we use the template, the reference is broken and needs to be re-added.</p>
  
  <p>Can anyone shed some light on this?</p>