I am trying to synchronize all versions of a DLL in my solution with many projects. I noted that my app.config contains several assembly binding redirects, for example:
<dependentAssembly>
<assemblyIdentity name="System.Diagnostics.DiagnosticSource" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.2.1" newVersion="4.0.2.1" />
</dependentAssembly>
However, as far as I can tell through the NuGet package manager, there are no packages requiring consolidation, and all projects point to version 4.4.1 of this assembly
I tried the advice of this blog post . I removed all binding redirects and tried to regenerate through:
Get-Project -All | Add-BindingRedirect
According to the NuGet Documentation, it Add-BindingRedirect should check the output path of the projects. I assume this means the bin folder.
Get-Project -All | Add-BindingRedirect app.config.
NuGet Get-Project -All | Add-BindingRedirect ?
NuGet?