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
<assemblyIdentity name="DotNetOpenAuth.AspNet" publicKeyToken="2780ccd10d57b246" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-220.127.116.11" newVersion="18.104.22.168" />
Currently I have these two options that I know of:
- Add this manually to the root web.config (not cool)
- Write a custom assembly resolver (overly complicated)
Do you guys have a more universal way of handling dependency redirects?