You can fix it either by adding package reference ‘Aspose.Drawing’ v. 22.11 to your application or by referencing Aspose.Tasks v. 23.4 binaries which target version of .NET lower than .NET 6 (netstandard20 of NET 461).
Version 22.11 is an old version. I don’t think it makes sense to use old versions of a library. It should be possible to use the latest version. But actually it isn’t.