System.Drawing.Common Platform Not Supported Error in a .NET 8.0 Application on Linux

System.Drawing.common Platform not supported error for net8.0 application on Linux.

We are using latest aspose.slides version.

@prorigo

The error you’re encountering with System.Drawing.Common on Linux while using a .NET 8.0 application is likely due to the limited support for this library on non-Windows platforms. This can result in compatibility issues, particularly when working with libraries that depend on it, such as Aspose.Slides.

To address this issue, consider the following options:

  1. Use a Different Graphics Library: If your application requires graphics functionality, consider using a cross-platform graphics library like SkiaSharp, which is designed to work seamlessly across multiple platforms, including Linux.

  2. Run on Windows: If possible, running your application in a Windows environment can help you avoid the compatibility issues associated with System.Drawing.Common.

  3. Check for Updates: Make sure you are using the latest version of Aspose.Slides, as newer releases may include enhancements or fixes for cross-platform compatibility.

  4. Use Docker: If you need to run your application on Linux, consider using a Docker container configured for .NET applications. This approach can help mitigate some platform-specific issues.

If you require further assistance, please provide additional details about your specific use case or the functionality you are trying to implement.

Already using skiasharp and also other dot net applications are running fine on that environment. Even aspose.words is working fine.

@prorigo,
Thank you for contacting free support. Please carefully check whether your application meets the system requirements for Aspose.Slides:
System Requirements|Aspose.Slides Documentation
Aspose.Slides for .NET 6 Cross Platform|Aspose.Slides Documentation

If your application meets the requirements and the issue persists, please share the simplest project to reproduce the error you described and specify the OS name and version on which the error occurs.