I have dockerized a dotnet 8 application and trying to convert a pptx file to pdf using aspose.slides package but getting “System.Drawing.Common is not supported on this platform”. How do i fix the error, tried using aspose.drawing package i installed the package and set the license, even after that issue was not fixed.
Docker is using the mcr.microsoft.com/dotnet/aspnet:8.0-alpine image
Cross-platform Aspose.Slides for .NET 6 can be used for .NET 7 and future .NET releases. Please take a look at this article for your reference.
Aspose.Slides for .NET NuGet package contains an assembly for .NET 6 that depends on System.Drawing.Common (for Windows only). Aspose.Slides for .NET ZIP and MSI packages contain the same and additionally, cross-platform version that does not depend on System.Drawing.Common that you may use.