.Net core 3.1 on Linux throws System.DllNotFoundException: Unable to load shared library 'user32.dll'

Stimulsoft Reports.NET discussion
Post Reply
christianholmen
Posts: 1
Joined: Thu Nov 19, 2020 2:13 pm

.Net core 3.1 on Linux throws System.DllNotFoundException: Unable to load shared library 'user32.dll'

Post by christianholmen »

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
Lech Kulikowski
Posts: 6254
Joined: Tue Mar 20, 2018 5:34 am

Re: .Net core 3.1 on Linux throws System.DllNotFoundException: Unable to load shared library 'user32.dll'

Post by Lech Kulikowski »

Hello,

The issue is fixed. The fix will be available in the next build in the next week.

Thank you.
Post Reply