title: Specify bindingRedirect for .net dll
body: <p>I have a .net dll which uses log4mongo.  In a normal .exe, in order for mongo to find the applicable log4net .dll, it currently needs a bindingRedirect specified in it's .config file:</p>
  
  <pre><code>   &lt;dependentAssembly&gt;
       &lt;assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral" /&gt;
        &lt;bindingRedirect oldVersion="0.0.0.0-1.2.13.0" newVersion="1.2.13.0" /&gt;
     &lt;/dependentAssembly&gt;
  </code></pre>
  
  <p>Unfortunately, I have no .config file to specify this in.  The common answer is to put this in the initial .exe.config of the executing program, but this .net dll is being run through node.js via edge.js.  Is there a way that I can specify a dll binding redirect either at runtime or through some other pre build setting?</p>