word-cloud icon indicating copy to clipboard operation
word-cloud copied to clipboard

The type initializer for 'SkiaSharp.SKImageInfo' threw an exception

Open crippledfaith opened this issue 2 years ago • 1 comments

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

crippledfaith avatar Nov 02 '22 15:11 crippledfaith

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 avatar Nov 03 '22 16:11 jjonescz