Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SignalR HubConnection.StartAsync exception: GetStreamItemType in Microsoft.AspNetCore.SignalR.Client.Core, v1.1.0.0 does not have implementation

Using .Net Core Signal R, Azure SignalR. Code used to work. Stopped working.

Fails at await MyHubConnection.StartAsync();

Throws exception System.TypeLoadException: 'Method 'GetStreamItemType' in type 'ConnectionState' from assembly 'Microsoft.AspNetCore.SignalR.Client.Core, Version=1.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' does not have an implementation.'

Microsoft.AspNetCore.SignalR.Client v 1.1.0 Microsoft.Azure.SignalR 1.0.7

How to to fix this?

Thanks!

Adam Leffert www.leffert.com

like image 291
MindModel Avatar asked Oct 28 '25 01:10

MindModel


1 Answers

In case anyone else runs into this problem, I'm posting the answer here.

I was able to work around this problem by updating all SignalR and related NUGet packages to their version 3.x pre-release versions.

like image 185
MindModel Avatar answered Oct 30 '25 17:10

MindModel