title: using a dll where path is in app.config
body: <p>I am struggling with this and cannot find much on it at all.</p>
  
  <p>My config file is as follows:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;configuration&gt;
  &lt;runtime&gt;
  &lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;
    &lt;dependentAssembly&gt;
       &lt;assemblyIdentity name="mydll"  culture="neutral"         publicKeyToken="3073773c0eff8935"/&gt;
      &lt;codeBase version="1.0.0.0" href="FILE://C:/users/James/Desktop/mydll2.dll"/&gt;
    &lt;/dependentAssembly&gt;
  &lt;/assemblyBinding&gt;
   &lt;/runtime&gt;
    &lt;/configuration&gt;
  </code></pre>
  
  <p>I have inserted the location of my assembly and also the correct publickeytoken and version.</p>
  
  <p>Obviously my assembly is not going to be in the bin folder and I would like to be able to change the location of the assembly when I like. I am stuck as to how to refer to this in my code. How can I call this assembly functions from my project?</p>
  
  <p>I am assuming you need to add a reference to it somehow in to the project?</p>
  
  <p>Thanks!</p>