Assembly Binding Redirect

Coordinator
Dec 10, 2011 at 11:01 AM
Edited Aug 8, 2014 at 10:27 AM
You can redirect an assembly binding reference to another version of an assembly by using entries in the application or machine configuration files:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="SimpleInjector" publicKeyToken="984cb50dea722e99" 
            culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-2.4.9.9" newVersion="2.5.0.0"/>
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration>
Marked as answer by dot_NET_Junkie on 11/3/2013 at 11:46 PM