Aspose.Tasks currently uses System.Drawing to render (in particular, to save to PDF) projects.
Microsoft marked System.Drawing as a Windows-specific library and now classes from System.Drawing assembly throw exception you’ve observed.
The task is quite labor-intensive because we should modify all codebase to replace usages of classes from System.Drawing to usages of third-party drawing lib.