System.drawing.common support for linux

dwijay 0 Reputation points
2023-02-12T19:36:08.4366667+00:00

our app has a graphics/image generator dll that uses drawing classes, but System.drawing.common is not supported on other platforms, we can switch to use aspose.drawing, which is supported on windows and linux. the problem we face is windows forms app uses System.drawing.common classes and this we cannot use our image generator dll, conflicts are there since aspose.drawing has the same name space as system.drawing, any ideas?

thanks

Developer technologies | .NET | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Pavel Melnikov 0 Reputation points
    2023-03-23T15:49:15.2066667+00:00

    Aspose has a separate package with different namespace. You can get it from NuGet.

    Aspose.Drawing.Common - https://www.nuget.org/packages/Aspose.Drawing.Common/22.9.0

    in this package all the classes are in the namespace Aspose.Drawing so you can use both libraries without any conflicts.


  2. Gianluca Pivato 0 Reputation points
    2025-11-25T15:50:08.2766667+00:00

    We just released System.Drawing.Managed nuget is Managed.System.Drawing. It’s free entirely managed and self contained. Works on Windows, Linux, MacOS, iOS, Android and basically anywhere with a .NET runtime. Same namespace, is a drop-in replacement.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.