ArthurHub / HTML-Renderer

Cross framework (WinForms/WPF/PDF/Metro/Mono/etc.), Multipurpose (UI Controls / Image generation / PDF generation / etc.), 100% managed (C#), High performance HTML Rendering library.
https://htmlrenderer.codeplex.com/
BSD 3-Clause "New" or "Revised" License
1.25k stars 527 forks source link

Support for net Standard 2.0. #124

Open KhalilMohammad opened 6 years ago

KhalilMohammad commented 6 years ago

Add support .net Standard 2.0.

superboy1984 commented 6 years ago

Another project is already doing this. named "PdfSharp.Core". nuget package url : https://www.nuget.org/packages/PdfSharp.Core/

mikeaxle commented 6 years ago

@superboy1984 does it Print to PDF?

mikeaxle commented 6 years ago

Ok just found out it doesn't

Wingjam commented 5 years ago

I would love to use HTML-Renderer.PdfSharp on .Net Core / .Net Standard since HtmlRendererCore.PdfSharpCore does not render \ tag into the pdf.

KhalilMohammad commented 5 years ago

If anyone still is still stuck then use nodeservices. There are a lot of packages in nodejs ecosystem that you can use. I have used jsreport

HakanL commented 5 years ago

I wonder if it would make sense to migrate the main project to .NET Standard, then create a separate project(s) for WinForms and WPF. That way the core can be used in multiple projects (PdfSharp.Core comes to mind) with minimum of dependencies.

KhalilMohammad commented 5 years ago

FYI, Winform and wpf are supported in .net core 3.0. If someone uses .net framework , he can use existing packages

HakanL commented 5 years ago

Yea, but .NET Core 3 won't be released until 2nd half of 2019, I don't think it makes sense to wait for that, better to migrate the core library to .NET Standard 2.0 (which can be used by .NET Framework 4.6.1).

tig commented 4 years ago

Ugh. Came here because I'd like to use this in a .NET Core 3.0 app. Any chance?

MrJacquers commented 3 years ago

This could work?

https://github.com/polybioz/HTML-Renderer-Core

woeterman94 commented 3 years ago

Another project is already doing this. named "PdfSharp.Core". nuget package url : https://www.nuget.org/packages/PdfSharp.Core/

NU1202: Package PdfSharp.Core 1.0.0 is not compatible with netstandard2.0 (.NETStandard,Version=v2.0). Package PdfSharp.Core 1.0.0 supports: netcoreapp2.1 (.NETCoreApp,Version=v2.1)