Skip to content

net6.0: UseWasmSharedBuffer=true is not supported on this platform #186

Closed
@catlan

Description

Describe the bug
When updating an existing project to net6.0 / ASP Core 6.0.1 I get this error in the console:

Unhandled exception rendering component: UseWasmSharedBuffer=true is not supported on this platform: Unable to acquire IJSUnmarshalledRuntime.
System.PlatformNotSupportedException: UseWasmSharedBuffer=true is not supported on this platform: Unable to acquire IJSUnmarshalledRuntime.
   at Tewr.Blazor.FileReader.FileReaderJsInterop.Initialize()
   at Tewr.Blazor.FileReader.FileReaderService..ctor(IJSRuntime jsRuntime, FileReaderServiceOptions options, IServiceProvider serviceProvider)
   at System.Reflection.RuntimeConstructorInfo.InternalInvoke(Object obj, Object[] parameters, Boolean wrapExceptions)

Is this a bug or expected for net6.0?

Project type
'Client-side'/'CSB'

Environment

  • Browser [e.g. chrome, safari]: both
  • Version of Blazor.FileReader: v3.3.0.21348
  • Version of .net sdk: net6.0 / ASP Core 6.0.1

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions