PlatformNotSupportedException after Updating Aspose.Slides from 21.10 to 24.1

Hi Aspose Support Team,
we are getting the following exception after updating library version from 21.10.0 to 24.1.0:

System.TypeInitializationException: The type initializer for ‘’ threw an exception.
—> System.PlatformNotSupportedException: System.Drawing.Common is not supported on this platform.
at System.Drawing.Text.FontCollection…ctor()
at System.Drawing.Text.PrivateFontCollection…ctor() at …ctor() at …cctor()
— End of inner exception stack trace —
at .(String ) at .(String , Boolean , Dictionary`2 )
at Aspose.Slides.FontsLoader.(String[] )
at Aspose.Slides.FontsLoader.LoadExternalFonts(String[] directories)

Nothing else changed on our docker image based on mcr.microsoft.com/dotnet/sdk:6.0.

Can you give your help on this?

@fmaragno,
Thank you for contacting support.

Starting with version 23.6, Aspose.Slides for .NET 6 in the NuGet package depends on System.Drawing.Common, and a cross-platform version is available in the ZIP and MSI releases. We apologize for any inconvenience.

A post was split to a new topic: There Are Common Classes in Both Aspose.Slides and System.Drawing.Common