You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After upgrade project with .NET 7.0 to .NET 9.0, the error occurred
Its only happed on Blazor WASM project only, the Blazor Server build and run correctly.
Project type
Blazor WASM
Environment
Browser : all browser
Version of Blazor.FileReader : 3.3.2.23201
Version of .net sdk : 0.9
Additional context
crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: Could not load type of field 'Tewr.Blazor.FileReader.FileReaderJsInterop:UnmarshalledRuntime' (6) due to: Could not resolve type with token 01000020 from typeref (expected class 'Microsoft.JSInterop.IJSUnmarshalledRuntime' in assembly 'Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60') assembly:Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 type:Microsoft.JSInterop.IJSUnmarshalledRuntime member:(null)
System.TypeLoadException: Could not load type of field 'Tewr.Blazor.FileReader.FileReaderJsInterop:UnmarshalledRuntime' (6) due to: Could not resolve type with token 01000020 from typeref (expected class 'Microsoft.JSInterop.IJSUnmarshalledRuntime' in assembly 'Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60') assembly:Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 type:Microsoft.JSInterop.IJSUnmarshalledRuntime member:(null)
at System.Object.InvokeStub_FileReaderService..ctor(Object , Span`1 )
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
...
The Microsoft.JSInterop.IJSUnmarshalledRuntime is removed and FileReader should update for support .NET 9.0
Thanks in Advance
The text was updated successfully, but these errors were encountered:
Describe the bug
After upgrade project with .NET 7.0 to .NET 9.0, the error occurred
Its only happed on Blazor WASM project only, the Blazor Server build and run correctly.
Project type
Blazor WASM
Environment
Additional context
crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: Could not load type of field 'Tewr.Blazor.FileReader.FileReaderJsInterop:UnmarshalledRuntime' (6) due to: Could not resolve type with token 01000020 from typeref (expected class 'Microsoft.JSInterop.IJSUnmarshalledRuntime' in assembly 'Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60') assembly:Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 type:Microsoft.JSInterop.IJSUnmarshalledRuntime member:(null)
System.TypeLoadException: Could not load type of field 'Tewr.Blazor.FileReader.FileReaderJsInterop:UnmarshalledRuntime' (6) due to: Could not resolve type with token 01000020 from typeref (expected class 'Microsoft.JSInterop.IJSUnmarshalledRuntime' in assembly 'Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60') assembly:Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 type:Microsoft.JSInterop.IJSUnmarshalledRuntime member:(null)
at System.Object.InvokeStub_FileReaderService..ctor(Object , Span`1 )
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
...
The Microsoft.JSInterop.IJSUnmarshalledRuntime is removed and FileReader should update for support .NET 9.0
Thanks in Advance
The text was updated successfully, but these errors were encountered: