logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

New Topic Post Reply
Options
Go to last post Go to first unread
Elm  
#1 Posted : Tuesday, November 22, 2016 10:42:31 AM(UTC)
Quote
Elm

Rank: Member

Groups: Registered
Joined: 5/30/2016(UTC)
Posts: 13
France

Thanks: 4 times
Hi,

Does Pdfium.NET support dotNET Core (or NetStandard) ? If not, is it planned in the future ?

Regards
Paul Rayman  
#2 Posted : Wednesday, November 23, 2016 11:11:05 PM(UTC)
Quote
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 909

Thanks: 3 times
Was thanked: 110 time(s) in 107 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?
Elm  
#3 Posted : Thursday, November 24, 2016 3:20:50 AM(UTC)
Quote
Elm

Rank: Member

Groups: Registered
Joined: 5/30/2016(UTC)
Posts: 13
France

Thanks: 4 times
Originally Posted by: Paul Rayman Go to Quoted Post
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 :-(
Paul Rayman  
#4 Posted : Thursday, November 24, 2016 6:00:54 PM(UTC)
Quote
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 909

Thanks: 3 times
Was thanked: 110 time(s) in 107 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.
DFletcher  
#5 Posted : Wednesday, February 1, 2017 11:04:57 PM(UTC)
Quote
DFletcher

Rank: Member

Groups: Registered
Joined: 12/27/2016(UTC)
Posts: 10
United States

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
pangerani  
#6 Posted : Monday, September 14, 2020 10:35:16 AM(UTC)
Quote
pangerani

Rank: Newbie

Groups: Registered
Joined: 3/25/2020(UTC)
Posts: 2
United States

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?

Paul Rayman  
#7 Posted : Monday, September 14, 2020 7:26:46 PM(UTC)
Quote
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 909

Thanks: 3 times
Was thanked: 110 time(s) in 107 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.
pangerani  
#8 Posted : Tuesday, September 15, 2020 8:09:53 AM(UTC)
Quote
pangerani

Rank: Newbie

Groups: Registered
Joined: 3/25/2020(UTC)
Posts: 2
United States

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 ?
Quick Reply Show Quick Reply
Users browsing this topic
New Topic Post Reply
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.