"System.Drawing.Common is not supported on this platform" on linux platform.

Answered
0
0

Dear team,

when I am creating an instance of the Page class I get the following exception ‘System.Drawing.Common is not supported on this platform” on linux platform.’.

Im using the current wisej version 3.1.8.

I have noticed the Breaking Change  NET 6 for this issue an follow the recommondations and set System.Drawing.EnableUnixSupport=true. But no effect.

Do you have any ideas?

Best regards

Hansjörg

 

 

 

 

  • You must to post comments
Best Answer
1
0

Hi Andre,

Try using a System.Drawing.Common package version <= 6.0.0.0.

Any version that is 6.0.0.0 or less should work with no issues.

Best,

Alaa

  • Andre Unger
    Hi Alaa, that’s it. Thank you. Best regards.
  • You must to post comments
0
0

Hi Alaa,

I already have libgdiplus installed.

Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
libgdiplus is already the newest version (6.0.4+dfsg-2).

Best regards

  • You must to post comments
0
0

Hi Andre,

You’ll have to install libgdiplus so that your app can be run on linux.

For more info, please check our Deployment Documentation.

Best,
Alaa

  • Andre Unger
    Hi Alaa, I already have libgdiplus installed. Reading package lists… Done Building dependency tree… Done Reading state information… Done libgdiplus is already the newest version (6.0.4+dfsg-2). Best regards
  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.