.Net core 3.1 on Linux throws System.DllNotFoundException: Unable to load shared library 'user32.dll'
Posted: Thu Nov 19, 2020 2:25 pm
I'm running .Net Core on Linux & Mac OS X and are using Stimulsoft Reports.Web.NetCore 2020.5.1
When calling report.LoadFromJson(designData) it throws an exception System.TypeInitializationException: The type initializer for 'Stimulsoft.Base.Drawing.StiColors' threw an exception.
---> System.DllNotFoundException: Unable to load shared library 'user32.dll'
The callstack indicates that it throws because it's trying to lookup a standard color using StiColorUtils.GetSysColor. I'm not using any images or named colors in the design and it works fine when rendered using Stimulsoft.JS.
Do you have a solution for this?
Thanks
When calling report.LoadFromJson(designData) it throws an exception System.TypeInitializationException: The type initializer for 'Stimulsoft.Base.Drawing.StiColors' threw an exception.
---> System.DllNotFoundException: Unable to load shared library 'user32.dll'
The callstack indicates that it throws because it's trying to lookup a standard color using StiColorUtils.GetSysColor. I'm not using any images or named colors in the design and it works fine when rendered using Stimulsoft.JS.
Do you have a solution for this?
Thanks