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.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.