Unhandled exception. System.TypeInitializationException: The type initializer for 'Gdip' threw an exception.
---> System.PlatformNotSupportedException: System.Drawing.Common is not supported on non-Windows platforms. See https://aka.ms/systemdrawingnonwindows for more information.
at System.Drawing.SafeNativeMethods.Gdip.<>c.<.cctor>b__2_0(String _, Assembly _, Nullable`1 _) in /_/src/System.Drawing.Common/src/System/Drawing/Gdiplus.cs:line 26
at System.Runtime.InteropServices.NativeLibrary.LoadLibraryCallbackStub(String libraryName, Assembly assembly, Boolean hasDllImportSearchPathFlags, UInt32 dllImportSearchPathFlags)
at System.Drawing.SafeNativeMethods.Gdip.<GdiplusStartup>g____PInvoke|32_0(IntPtr* token, StartupInputEx* input, StartupOutput* output)
at System.Drawing.SafeNativeMethods.Gdip.GdiplusStartup(IntPtr& token, StartupInputEx& input, StartupOutput& output) in /_/src/System.Drawing.Common/src/Microsoft.Interop.LibraryImportGenerator/Microsoft.Interop.LibraryImportGenerator/LibraryImports.g.cs:line 1772
at System.Drawing.SafeNativeMethods.Gdip..cctor() in /_/src/System.Drawing.Common/src/System/Drawing/Gdiplus.cs:line 33
--- End of inner exception stack trace ---
at System.Drawing.SafeNativeMethods.Gdip.GdipCreateBitmapFromFile(String filename, IntPtr& bitmap) in /_/src/System.Drawing.Common/src/Microsoft.Interop.LibraryImportGenerator/Microsoft.Interop.LibraryImportGenerator/LibraryImports.g.cs:line 16751
at System.Drawing.Bitmap..ctor(String filename, Boolean useIcm) in /_/src/System.Drawing.Common/src/System/Drawing/Bitmap.cs:line 43
at System.Drawing.Bitmap..ctor(String filename) in /_/src/System.Drawing.Common/src/System/Drawing/Bitmap.cs:line 26
at Program.LoadPixel(String fileName)
at Program.Main(String[] args)
Command terminated by signal 6