Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rest Sharp conflict #98

Open
twilly86 opened this issue Jan 12, 2018 · 15 comments
Open

Rest Sharp conflict #98

twilly86 opened this issue Jan 12, 2018 · 15 comments

Comments

@twilly86
Copy link

twilly86 commented Jan 12, 2018

After upgrading to the latest version of the intercom pacakage, I keep getting this error, I am on the latest version of restsharp..

Additional information: Could not load file or assembly 'RestSharp, Version=105.2.3.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

I have this in my config file, so it should be picking up the right version of restsharp..

  <dependentAssembly>
    <assemblyIdentity name="RestSharp" publicKeyToken="598062e77f915f75" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-106.2.1.0" newVersion="106.2.1.0" />
  </dependentAssembly>
@kmossco
Copy link
Contributor

kmossco commented Jan 12, 2018

Hey @twilly86! Thanks for reporting this. Just to be sure here, are you using our current nuget package (latest), or have you tried updating to the new branch I created a few hours ago here: #97?

@kmossco kmossco added the bug label Jan 12, 2018
@twilly86
Copy link
Author

I am on Intercom.Dotnet.Client" version="1.0.31", is this from #97?

@kmossco
Copy link
Contributor

kmossco commented Jan 12, 2018

In that case you are on the current stable version of Intercom. If you revert RestSharp to 105.2.3 does it work? And can you tell me which framework you are compiling against? Our current version only supports net45.

@kmossco
Copy link
Contributor

kmossco commented Jan 24, 2018

@twilly86 were you able to get this working, or are you still blocked?

@kmossco
Copy link
Contributor

kmossco commented Jan 29, 2018

Closing this one as no further reports were open since then both here and in Intercom. It is very possible that the RestSharp version being used needed a different compiler and as such a .NET Core/Standard compiler was being used and our library isn't ready yet for it.

@kmossco kmossco closed this as completed Jan 29, 2018
@slegay
Copy link

slegay commented Jul 6, 2018

Same problem here. It looks like using the latest version of RestSharp causes dependency issues with intercom client.

@kmossco kmossco reopened this Jul 7, 2018
@kmossco
Copy link
Contributor

kmossco commented Jul 7, 2018

I will need to test and see what changed, but we may need some time to adapt to the new version of RestSharp.

@kmossco kmossco added the triaged label Jul 7, 2018
@kmossco kmossco removed the triaged label Aug 9, 2018
@choran choran added the dotnet label Sep 13, 2018
@twilly86
Copy link
Author

twilly86 commented Dec 3, 2018

i downgraded to restsharp 105.2.3.0 and it fixed it. I now need to upgrade restsharp past that version and I'm getting this error again.
I couldn't download the new intercom 2+ version since it installs a bunch of dotnet core packages into my library causing more issues.

@twilly86
Copy link
Author

Any update on this?

@slegay
Copy link

slegay commented Mar 18, 2019

Same problem here.

@justlearntutors
Copy link

Same problem on my project

@user1311
Copy link

user1311 commented Dec 4, 2020

Same issue here, i can't downgrade then i get issue that it doesn't support net4.7.2

Error msg : System.IO.FileNotFoundException: Could not load file or assembly 'RestSharp, Version=106.11.7.0, Culture=neutral, PublicKeyToken=598062e77f915f75' or one of its dependencies. The system cannot find the file specified.

@MohammedMubeen
Copy link

Hi Folks,

I also face same problem , Please help on this.

System.IO.FileNotFoundException: Could not load file or assembly 'RestSharp, Version=106.11.7.0, Culture=neutral, PublicKeyToken=598062e77f915f75' or one of its dependencies. The system cannot find the file specified.

@justlearntutors
Copy link

Same problem.
'Could not load type 'RestSharp.IRestClient' from assembly 'RestSharp, Version=107.2.1.0, Culture=neutral, PublicKeyToken=598062e77f915f75'.'

@BlairMcClelland
Copy link

BlairMcClelland commented Dec 15, 2022

Any update on this? Or any workarounds that don't involve loading multiple Restsharp like this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants