HTML-Renderer icon indicating copy to clipboard operation
HTML-Renderer copied to clipboard

Support for net Standard 2.0.

Open KhalilMohammad opened this issue 7 years ago • 11 comments
trafficstars

Add support .net Standard 2.0.

KhalilMohammad avatar Apr 23 '18 18:04 KhalilMohammad

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

superboy1984 avatar Jul 17 '18 08:07 superboy1984

@superboy1984 does it Print to PDF?

mikeaxle avatar Jul 20 '18 08:07 mikeaxle

Ok just found out it doesn't

mikeaxle avatar Jul 20 '18 09:07 mikeaxle

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

Wingjam avatar Feb 26 '19 21:02 Wingjam

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

KhalilMohammad avatar Mar 02 '19 23:03 KhalilMohammad

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.

HakanL avatar Apr 19 '19 20:04 HakanL

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

KhalilMohammad avatar Apr 19 '19 23:04 KhalilMohammad

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).

HakanL avatar Apr 19 '19 23:04 HakanL

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

tig avatar Nov 27 '19 20:11 tig

This could work?

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

MrJacquers avatar Aug 12 '21 11:08 MrJacquers

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)

woeterman94 avatar Aug 27 '21 13:08 woeterman94