I am trying to map RestSharp 105.2.3.0 to RestSharp 106.5.4.0 using assembly binding, but it fails.
<dependentAssembly>
<assemblyIdentity name="RestSharp" publicKeyToken="null" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-106.5.4.0" newVersion="106.5.4.0" />
</dependentAssembly>
I am using the version from nuGet:
<package id="RestSharp" version="106.5.4" targetFramework="net472" />
Log entries:
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:ConsoleClient/bin/Debug/RestSharp.DLL.
WRN: Comparing the assembly name resulted in the mismatch: PUBLIC KEY TOKEN ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.
User contributions licensed under CC BY-SA 3.0