j-petty / HtmlRendererCore

HtmlRendererCore is a partial port of HtmlRenderer for .NET Core.
MIT License
24 stars 8 forks source link

Support .Net 7 on Linux #7

Open Manuel-Innovapps opened 1 year ago

Manuel-Innovapps commented 1 year ago

Support System.Drawing.Common for has been disabled with dotnet 7

Microsoft recommends to switch to one of the following libs: SkiaSharp ImageSharp (tiered license) Microsoft.Maui.Graphics

manuel3108 commented 1 year ago

I was able to port this repo to support DotNet 7 on Linux. You can find it here: https://github.com/manuel3108/HtmlRendererCore-Net7

Here is the commit porting it: https://github.com/manuel3108/HtmlRendererCore-Net7/commit/0772a92fef37139849a932af14147fecd8738e7 While updating I was also able to switch back to the default PdfSharp implementation instead of using PdfSharpCore