The exception happens when creating a new workbook, e.g. Workbook wbToStream = new();. At first I got the Platform Not Supported exception, but then I applied the runtimeconfig.json settings referred to in the Microsoft docs on System.Drawing.Common only supported on Windows and the Creating workbook on Linux throws exception post on this board. The new exception is as follows:
DllNotFoundException: Unable to load shared library 'libgdiplus' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibgdiplus: cannot open shared object file: No such file or directory
Added the Nuget SkiaSharp.NativeAssets. Linux did not help. FYI I had to change the web links to be inert because it said I could not post URLs