Skip to content
This repository has been archived by the owner on Jan 26, 2021. It is now read-only.

Could not load type 'Microsoft.JSInterop.DotNetObjectRef' from assembly 'Microsoft.JSInterop, Version=3.0.0.0, Culture=neutral #13

Open
roduman opened this issue Sep 13, 2019 · 4 comments

Comments

@roduman
Copy link

roduman commented Sep 13, 2019

Replace DotNetObjectRef with DotNetObjectReference in .NET Core 3.0 Preview 9 - https://devblogs.microsoft.com/aspnet/asp-net-core-and-blazor-updates-in-net-core-3-0-preview-9/

@bluejaye
Copy link

bluejaye commented Feb 8, 2020

@roduman how to replace DotNetObjectRef ?

@vicentegras
Copy link

I don't know how to replace DotNetObjectRef, this do not appear in the source code. Can you help, please?

@khalilsaqib
Copy link

i have got the same error can anyone please provide solution

@MISTikus
Copy link

Guys, you need to update library TG.Blazor.IndexedDb
Issue is fixed...

fixed for me:

.csproj:

    <PackageReference Include="Reshiru.Blazor.IndexedDB.Framework" Version="1.0.1" />
    <PackageReference Include="TG.Blazor.IndexedDB" Version="1.5.0-preview" />
index.html:

    <script>navigator.serviceWorker.register('service-worker.js');</script>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants