RestSharp Assembly Binding


I am trying to map RestSharp to RestSharp using assembly binding, but it fails.

    <assemblyIdentity name="RestSharp" publicKeyToken="null" culture="neutral" />
    <bindingRedirect oldVersion="" newVersion="" />

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.

asked on Stack Overflow Dec 29, 2020 by user1255637 • edited Dec 29, 2020 by marc_s

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0