Last post Feb 08, 2021 09:15 AM by YihuiSun
Feb 08, 2021 06:18 AM|SelvamM|LINK
We are trying to convert an Electron edge with ASP NET MVC project to Electron Edge with ASP Net core where we are facing an issue "System.Drawing not supported on this platform".
It doesn't throws any error when working with MVC but throws error in ASP NET CORE.
We have have raised an issue in electron github as well. Please find link below.
We tried sample and confirmed the same.
Feb 08, 2021 07:30 AM|Mikesdotnetting|LINK
You can try System.Drawing.Common (https://www.nuget.org/packages/System.Drawing.Common/) It might not support all the functionality that you have in System.Drawing.
Here's more information:
Feb 08, 2021 09:15 AM|YihuiSun|LINK
The System.Drawing namespace is not recommended
for new development, because it's not supported within Windows services,
ASP.NET Core, and ASP.NET.
You can use ImageSharp,
check the documentation for more explanation about System.Drawing.