title: .Net Assembly Binding Redirect with Differing Public Key Tokens
body: <p>Is it possible to perform an assembly binding redirect between different versions of a referenced assembly if the public key token is null on the older version and set on the newer version?</p>
  
  <p>For example, I have two assemblies...</p>
  
  <pre><code>System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
  </code></pre>
  
  <p>and</p>
  
  <pre><code>System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
  </code></pre>
  
  <p>Should the following assembly binding redirect work in the Asp.Net web.config...</p>
  
  <pre><code>&lt;runtime&gt;
    &lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;
      &lt;dependentAssembly&gt;
        &lt;assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/&gt;
        &lt;bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0"/&gt;
      &lt;/dependentAssembly&gt;
    &lt;/assemblyBinding&gt;
  &lt;/runtime&gt;
  </code></pre>