Reshiru/Blazor.IndexedDB.Framework

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

roduman opened this issue · 4 comments

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/

@roduman how to replace DotNetObjectRef ?

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

i have got the same error can anyone please provide solution

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>