title: .Net CodeBase element
body: <p>I have reviewed several other posts about how to get the CLR to find an assembly that is not in the same folder or any subfolder of the executable and am unable to get it to work for me.  ClassLibrary1.dll is an unsigned assembly.  The examples show:</p>
  
  <pre><code>&lt;configuration&gt; 
  &lt;runtime&gt; 
      &lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt; 
          &lt;dependentAssembly&gt; 
              &lt;assemblyIdentity name="ClassLibrary1"/&gt; 
              &lt;codeBase version="1.0.0.0"                    
                  href=file:///C:\somepath\subfolder\ClassLibrary1.dll"/&gt; 
          &lt;/dependentAssembly&gt; 
      &lt;/assemblyBinding&gt; 
  &lt;/runtime&gt; 
  &lt;/configuration&gt; 
  </code></pre>
  
  <p>I created a console application and put the above with the proper path in its configuration file, but still get a message indicating that it cannot find ClassLibrary1.dll.  I used FUSLOGVW and it did not even check in the folder supplied in the CodeBase element.  Does anyone know why this does not work?</p>