Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Issue Connecting Xamarin App with SignalR #8931


User avatar
0
suruat created

Hello Guys

I am following this post to integrate signal R, with Xamarin: https://support.aspnetzero.com/QA/Questions/6841 I have the back end working properly now and was able to connect using a console app. However when I try to connect using Xamarin, I get the following error:

System.TypeLoadException: Could not resolve type with token 0100003f from typeref (expected class 'Microsoft.Extensions.Logging.Abstractions.Internal.NullScope' in assembly 'Microsoft.Extensions.Logging.Abstractions, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60') at Microsoft.Extensions.Logging.Logger 1[T].Microsoft.Extensions.Logging.ILogger.BeginScope[TState] (TState state) [0x00000] in <05c3899430e944c987384a03cf948677>:0 at Microsoft.AspNetCore.SignalR.Client.HubConnection.StartAsync (System.Threading.CancellationToken cancellationToken) [0x00017] in <f381011e9b214489bcb373743f31ed9d>:0 at MyApp.Services.Chat.ChatService.ConnectAsync () [0x0007e]

Does anyone have an idea around this?


2 Answer(s)
  • User Avatar
    0
    suruat created

    Bump to top, since it seems like this question was missed.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Sorry for the late reply.

    1. You can take a look at https://github.com/Daddoon/BlazorMobile/issues/40 if you are using Blazor in your project.
    2. If not, you can check if your solution has different versions of Microsoft.Extensions.Logging.Abstractions NuGet package.