i am getting from dotnet run:::
Unhandled exception. System.TypeInitializationException: The type initializer for 'SkiaSharp.SKImageInfo' threw an exception.
---> System.DllNotFoundException: Unable to load shared library 'libSkiaSharp' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibSkiaSharp: cannot open shared object file: No such file or directory
On xubuntu 20.1
i am getting from dotnet run:::
Unhandled exception. System.TypeInitializationException: The type initializer for 'SkiaSharp.SKImageInfo' threw an exception.
---> System.DllNotFoundException: Unable to load shared library 'libSkiaSharp' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibSkiaSharp: cannot open shared object file: No such file or directory
what i am doing wrong ?
Are you able to run any other dotnet app console/web? It might be due to XFCE too, maybe a library is missing.
yes after so much google i narrowed down my problem to this
github.com/mono/SkiaSharp/issues/1050
but none of the solutions helped me
for anyone in future who run into the same problem this stackoverflow answer may help
stackoverflow.com/questions/685828...
This solves the issue for me
Source