Giter VIP home page Giter VIP logo

Comments (3)

AlexanderJohnston avatar AlexanderJohnston commented on June 4, 2024

I'm seeing something similar right now and trying to diagnose it. I'll check back here if I learn of anything. In the meantime I'm getting a stacktrace like this on the client:

WASM: Unhandled exception rendering component: blazor.webassembly.js:1:35128

WASM: System.TypeLoadException: Could not resolve type with token 0100002b from typeref (expected class 'Microsoft.JSInterop.DotNetObjectRef' in assembly 'Microsoft.JSInterop, Version=3.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60') blazor.webassembly.js:1:35128

WASM: at Blazor.Extensions.HubConnectionBuilder.Build () <0x2dafe90 + 0x0003c> in <150deb4254614931b9d0e3b9cd8d7a0f>:0

from signalr.

AlexanderJohnston avatar AlexanderJohnston commented on June 4, 2024

To resolve this issue, I installed the package: System.Threading.Tasks.Extensions

The Microsoft.JSInterop.DotNetObjectRef was embarassingly caused by not updating Blazor.Extensions.SignalR to version 0.4.0

After I updated then I received a warning about missing the ValueTask type. Once I installed System.Threading.Tasks.Extensions then SignalR began working as expected.

from signalr.

galvesribeiro avatar galvesribeiro commented on June 4, 2024

Please try out latest packages released pacakges.

from signalr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.