Rank: Member
Groups: Registered
Joined: 5/30/2016(UTC) Posts: 14  Thanks: 4 times
|
Hi,
Does Pdfium.NET support dotNET Core (or NetStandard) ? If not, is it planned in the future ?
Regards
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
I think it is possible to create a Pdfium.Net wrapper (with some restrictions) using .Net Core 1.6 It will take some effort, so what is the use case of such wrapper? In which scenarios you want to use it?
|
|
|
|
|
|
Rank: Member
Groups: Registered
Joined: 5/30/2016(UTC) Posts: 14  Thanks: 4 times
|
Originally Posted by: Paul Rayman  I think it is possible to create a Pdfium.Net wrapper (with some restrictions) using .Net Core 1.6 It will take some effort, so what is the use case of such wrapper? In which scenarios you want to use it? Hi Paul, what I want is being able to extend an existing app running on Linux with PDF capabilities. As I work with .NET, I'm looking for DotNet Core librairies. Seems to me that it's too early, most .NET libraries haven't been updated to support dotNET Core. I'll have to use Java :-(
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
Pdfium uses the native Windows dll, so that even if we port a .Net part to .Net Core, it still won't work on Linux.
|
|
|
|
|
|
Rank: Member
Groups: Registered
Joined: 12/27/2016(UTC) Posts: 10 
|
Hi
This compatibility issue is related to an MSCORLIB dependency...which has more to do with the Visual Studio 2015 XPROJ project type. Visual Studio 2017 kills XPROJ, reverts to CSPROJ, and promises that these issues go away.
Right now, the workaround is to have a Frankenstein Core app, sitting on .Net 4.6.1. A separate 4.6.1 class library project contains the PDFium package and is included in the Core(4.6.1) app as an existing project. You also need to put pdfium.dll in the root of the Core app. It's a total hack, but works.
D
|
|
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 3/25/2020(UTC) Posts: 2 
|
We are in the process of converting all of our builds to .Net core. PDFium is one to the two last holdouts among our 3rd party libraries.
Are there any current plans to supoort .Net core (specifically as a NuGet install) in the near future?
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
The Pdfium.Net SDK itself supports the .Net core. More details - .Net Standard 2.0 and .Net Standard 2.1 assemblies are included in NuGet, Zip and MSI packages. https://pdfium.patagames.com/downloads/Or are you talking about PdfViewer? Currently, the viewer is implemented for the WinForms and WPF platforms. And viewer for Xamarin.iOS is being prepared for release.
|
|
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 3/25/2020(UTC) Posts: 2 
|
Yes, the PDFViewer. We are using it for WPF under .Net core where we have PDF intranet clients and Angular mobile clients. Do you have any plans to let us build using .Net core only bits ?
|
|
|
|
|
|
Forum Jump
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close