I am using System.Drawing.Common
in my code, but when I deploy it to Linux Container (Ubuntu 20.04, Focal Fossa) it shows me there's an error, that user32.dll
was not found, which is a Windows application.
Here's an image of the error ~
Asked
Active
Viewed 211 times
0

DJ001
- 75
- 7
-
Does this help: https://www.hanselman.com/blog/how-do-you-use-systemdrawing-in-net-core ? – Luke Woodward Mar 07 '21 at 12:48
-
No, it merely demonstrates the library. I have a very specific error, as you can see – DJ001 Mar 07 '21 at 16:45
-
It does say to install a couple of packages, `libc6-dev` and `libgdiplus`. Have you done that? – Luke Woodward Mar 07 '21 at 18:20
-
Yes. Besides, the error is about a library `user32` not `libc6-dev` or `libgdiplus` – DJ001 Mar 08 '21 at 02:31