Office & PDF File API .NET Limitations and Troubleshooting
System.Drawing.Common Package Version 6 and Later
With the .NET 6 release, the System.Drawing.Common library is compatible with Windows only. Applications that built for non-Windows platforms throw the TypeInitializationException and PlatformNotSupportedException exceptions. Refer to the following breaking change for more information: System.Drawing.Common only supported on Windows.
Use the SkiaSharp-based drawing engine in non-Windows environments to resolve issues. Refer to the following articles for more information:
- Use Office & PDF File API on Linux
- Use Office & PDF File API on macOS
- Dockerize an Office & PDF File API Application
Refer to the following article for more information on DevExpress.Drawing library troubleshooting: Troubleshooting.