Assembly Redirection for Custom Module

Topics: Writing modules
Apr 1, 2015 at 5:24 PM
I'm currently forking an existing project, and I'm adding the GoogleOAuth2 client instead of the OpenID client. The dependencies from Nuget for DotNetOpenAuth Google OAuth 2 client requires that an assembly dependency redirect be added in the root web.config:
        <assemblyIdentity name="DotNetOpenAuth.AspNet" publicKeyToken="2780ccd10d57b246" culture="neutral" />
        <bindingRedirect oldVersion="" newVersion="" />
Currently I have these two options that I know of:
  1. Add this manually to the root web.config (not cool)
  2. Write a custom assembly resolver (overly complicated)
Do you guys have a more universal way of handling dependency redirects?