I am trying to map RestSharp 188.8.131.52 to RestSharp 184.108.40.206 using assembly binding, but it fails.
<dependentAssembly> <assemblyIdentity name="RestSharp" publicKeyToken="null" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-220.127.116.11" newVersion="18.104.22.168" /> </dependentAssembly>
I am using the version from nuGet:
<package id="RestSharp" version="106.5.4" targetFramework="net472" />
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