Skip to content
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 #15

Open
crippledfaith opened this issue Nov 2, 2022 · 1 comment
Labels
bug Something isn't working question Further information is requested

Comments

@crippledfaith
Copy link

Blazor Webassembly giving error The type initializer for 'SkiaSharp.SKImageInfo' threw an exception

@jjonescz
Copy link
Member

jjonescz commented Nov 3, 2022

Thanks for reporting this issue. Try referencing NuGet package SkiaSharp.Views.Blazor:

dotnet add package SkiaSharp.Views.Blazor

And please let me know how that works for you.

@jjonescz jjonescz added bug Something isn't working question Further information is requested labels Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants