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
And the error is:
The type initializer for 'Gdip' threw an exception.
at System.Drawing.SafeNativeMethods.Gdip.GdipCreateSolidFill(Int32 color, IntPtr& brush)
at System.Drawing.SolidBrush..ctor(Color color)
If I find a solution, I will put the answer in the current issue
[EDIT:]
Changing to NET CORE 2.2 : doesn't help
The text was updated successfully, but these errors were encountered:
I found this is a common problem which can be resolved with installing libgdiplus but this 'trick' doesnt help in my case.
My spec:
Linux: centos-release-7-5.1804.el7.centos.2.x86_84
.NET Core version: 2.1
System.Drawing.Common (4.5.1)
libgdiplus: libgdiplus-2.10-10.el7.x86_64
also installed libgdipls-devel
Code which delivers a error:
And the error is:
The type initializer for 'Gdip' threw an exception.
at System.Drawing.SafeNativeMethods.Gdip.GdipCreateSolidFill(Int32 color, IntPtr& brush)
at System.Drawing.SolidBrush..ctor(Color color)
If I find a solution, I will put the answer in the current issue
[EDIT:]
Changing to NET CORE 2.2 : doesn't help
The text was updated successfully, but these errors were encountered: