Search code examples
c#signalrazure-signalr

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


Solution

  • 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.