-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The type initializer for 'SkiaSharp.SKImageInfo' threw an exception #11
Comments
Same error here. Any workaround? |
Same here, added SkiaSharp, SkiaSharp.NativeAssets.WebAssembly, still not working. |
blazor wasm Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] |
same here Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] |
I'm having the same problem. |
let's hope the SkiaSharp team finds a solution mono/SkiaSharp#2732 |
Works great in a non-docker environment, as soon as I deployed in AWS ECS in a docker image, I get this error |
Using BlazorCaptcha 1.2.4 in a .NET 6 project results in the following runtime error:
Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: The type initializer for 'SkiaSharp.SKImageInfo' threw an exception.
System.TypeInitializationException: The type initializer for 'SkiaSharp.SKImageInfo' threw an exception.
---> System.DllNotFoundException: libSkiaSharp
at SkiaSharp.SKImageInfo..cctor()
--- End of inner exception stack trace ---
at BlazorCaptcha.Captcha.BuildRenderTree(RenderTreeBuilder builder)
at Microsoft.AspNetCore.Components.ComponentBase.<.ctor>b__6_0(RenderTreeBuilder builder)
at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
The text was updated successfully, but these errors were encountered: