PDFiumSharp icon indicating copy to clipboard operation
PDFiumSharp copied to clipboard

Very valuable work

Open sdg002 opened this issue 6 years ago • 4 comments

Is there any possibility that we can update the nuget package with the latest version of the native Pdfium.dll ? Or perhaps I could assist if you give me some directions.

sdg002 avatar Aug 16 '19 18:08 sdg002

I use this github repo to get recent binaries : https://github.com/bblanchon/pdfium-binaries

Whiletru3 avatar Aug 19 '19 10:08 Whiletru3

Thank you.

sdg002 avatar Aug 19 '19 15:08 sdg002

@Whiletru3 : I tried grabbing your fork and building it in Visual Studio 2017, but I'm having trouble with the dependencies. Getting the same errors as in https://github.com/ArgusMagnus/PDFiumSharp/issues/14:

'PDFium' does not contain a definition for 'FPDFAction_GetDest'

The type or namespace name 'FPDF_ACTION' could not be found (are you missing a using directive or an assembly reference?)

And

NU1108 Cycle detected. PDFiumSharp -> PDFiumSharp (>= 0.1.1-beta).

  • 63 similar errros.

Got any tips on how to I should tackle this?

daghendrik avatar Aug 21 '19 13:08 daghendrik

You have to run the template custom tool on the 2 .tt files (right clic on it then Run custom tool) : FPDF_Typedefs.tt in Types folder and PDFium.tt at the root

Whiletru3 avatar Aug 21 '19 15:08 Whiletru3