Wisej 3.5 on Linux doesn't work

Answered
0
0

We have been doing business by developing some kind of admin solutions hosted on Linux based on Wisej 3.2.* version.

One of the important packages for Wisej to run on Linux is System.Drawing.Common 6.0.
Even if we use .net 7 or .net 8, if we use System.Drawing.Common 6.0 or lower, we can use it on Linux without a problem.
That “Wisej supports Linux and that System.Drawing.Common 6.0 or lower can be used” is stated in Wisej’s deployment document and ITG’s support article.

https://docs.wisej.com/deployment/targets/linux-macos
https://wisej.com/support/question/system-drawing-common-is-not-supported-on-this-platform-on-linux-platform

Wisej 3.5 was released recently, and since its release(or previously)
there has been no documentation indicating that support for Linux will now be discontinued.
But when I built the program based on Wisej 3.5 and ran it on Linux, it didn’t work.
I started analyzing the Wisej dll and found that it depends on System.Drawing.Common 7.0.

https://docs.wisej.com/docs/releases/whats-new-in-3.5 says

(Wisej.NET Hybrid) Remote Application
Allows developers to build and deploy a traditional Wisej.NET application
with the added ability of interacting with the Hybrid device’s native functionalities.
This application is deployed to a remote web server
such as IIS, Kestrel, or Nginx on Windows or Linux.

But that didn’t work.
Because Wisej is a development infrastructure, ITG should pay more attention to release.
I think that only then can this development platform gain the trust of developers.

Microsoft announces:
System.Drawing.Common only supported on Windows (after .NET 6)
https://learn.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/6.0/system-drawing-common-windows-only

Telerik replaces with SkiaSharp
System.Drawing.Common is not supported on non-Windows platforms – .NET 6 and .NET 7 under Linux and MacOS
https://docs.telerik.com/reporting/knowledge-base/system-drawing-common-is-not-supported-on-non-windows-platforms

Please let me know your plan on this System.Drawing.Common cross platfrom issue.

Regards,
BK

Attachment
  • You must to post comments
Best Answer
0
0

Hi Kim

Wisej.NET 3.5.2 was just released that fixes this issue.

Best regards
Frank

  • You must to post comments
0
0

System.Drawing.Common 6.0 works for Linux. We didn’t discontinue anything. You cannot use System.Drawing.Common 7.0 on Linux because Microsoft blovked it without a replacement. We built System.Drawing.Managed together with ImageSharp (fully managed, unlike SkiaSharp which is a wrapper aroung many diffent native dlls) but for now it’s only for Wisej.Hybrid.

I can see that 3.5 references 7.0 which is incorrect. If you cannot downgrade the System.Drawing.Common nuget package in your project you need to use 3.2.7 for now. We will update 3.5 to use 6.0.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.