title: Is it possible to have version-independent DLL references in a class?
body: <p>I would like to create a class that compiles into a single DLL.  This DLL would add functionality to an existing product.  </p>
  
  <p>To make this work, the custom class references DLLs contained in the underlying product.  These references are needed to compile.</p>
  
  <p>Everything works fine here and the custom class compiles.  I can drop the DLL produced into the product and everything works fine.</p>
  
  <p>However, this product has several versions (minor versions, service packs).  I would like to distribute this DLL to others but I'm finding the DLL must match <em>perfectly</em> the version of the product.  If there isn't a perfect match, then the following error occurs:</p>
  
  <blockquote>
    <p>Could not load file or assembly
    'Product.Web.UI, Version=3.6.1920.2,
    Culture=neutral,
    PublicKeyToken=dfeaee0e3978ac79' or
    one of its dependencies. The located
    assembly's manifest definition does
    not match the assembly reference.
    (Exception from HRESULT: 0x80131040)</p>
  </blockquote>
  
  <p>How do I produce a DLL that isn't picky about the version reference?</p>