Azure Function gives error: System.Drawing is not supported on this platform

It’s not about the CLR, it’s about the sandbox. System.Drawing relies heavily on GDI/GDI+ to do its thing. Because of the somewhat risky nature of those APIs (large attack surface) they are restricted in the App Service sandbox. Win32k.sys (User32/GDI32) Restrictions For the sake of radical attack surface area reduction, the sandbox prevents almost all … Read more