• 1
  • Question
  • Updated 1 year ago
I am integrating ring central c# package to mvc5 application.Autherization is done and when i try to call subscription it shows an error like

"Could not load file or assembly 'PubNub-Messaging, Version=1.0.6201.20023, Culture=neutral, PublicKeyToken=dc66f52ce6619f44' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)":"PubNub-Messaging, Version=1.0.6201.20023, Culture=neutral, PublicKeyToken=dc66f52ce6619f44"

when i installed ring central client it added pubnub-messaging version 1.0.6151.29001, now i am unable to change the package.

This is my code,

 var subscription = rc.Restapi().Subscription().New();



                subscription.ConnectEvent += (sender, args) =>




                subscription.NotificationEvent += (sender, args) =>




                subscription.ErrorEvent += (sender, args) =>




                var sub = await subscription.Register();

please reply regarding the issue
Photo of Ashikh P M

Ashikh P M

  • 70 Points

Posted 1 year ago

  • 1
Photo of John Wang

John Wang, Official Rep

  • 5,826 Points 5k badge 2x thumb
@ashikh, Since this is a SDK-specific issue, I've created your post on the GitHub repo here. We'll have our C# experts look into this.
Photo of Tyler Long

Tyler Long, Official Rep

  • 9,818 Points 5k badge 2x thumb
Which version of ringcentral-csharp-client did you install? Could you please try latest version instead?

Can you reproduce the issue with an hello world style sample project?  I cannot reproduce it myself. The code seems fine. It might be an issue of how your IDE install and manage dependencies