Blazor.IndexedDB.Framework icon indicating copy to clipboard operation
Blazor.IndexedDB.Framework copied to clipboard

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

Open roduman opened this issue 5 years ago • 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 avatar Sep 13 '19 12:09 roduman

@roduman how to replace DotNetObjectRef ?

bluejaye avatar Feb 08 '20 09:02 bluejaye

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

vicentegras avatar May 28 '20 18:05 vicentegras

i have got the same error can anyone please provide solution

khalilsaqib avatar Aug 26 '20 06:08 khalilsaqib

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>

MISTikus avatar Oct 16 '20 16:10 MISTikus