1

I'm developing an application, but the PdfiumViewer library (2.13.0) inside the incompatibility module. showing the error:

NU1701 Package 'PdfiumViewer 2.13.0' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.1'. This package may not be fully compatible with your project.

An easy solution?

  • 1
    What happened when you tried it? Did it run? Did it work? – mjwills Jan 29 '19 at 12:19
  • Nothing, do not compile the code. – Rafael Marques Jan 29 '19 at 12:27
  • NU1701 Package 'PdfiumViewer 2.13.0' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.1'. This package may not be fully compatible with your project. Some classes have also not been imported into the code, such as ** Pdf2DataExtractor ** – Rafael Marques Jan 29 '19 at 12:37
  • iText's pdf2data is available both in Java and C#. Please follow the guide which can be found on iText's webpage: https://itextpdf.com/en/resources/installation-guides/installing-itext-7-pdf2data-net-developers – Uladzimir Asipchuk Jan 29 '19 at 20:27
  • Have you contacted iText support already? – Amedee Van Gasse Feb 04 '19 at 08:26

1 Answers1

2

I believe its not compatible with .Net Core/Standard.

Pdf2Data has a dependency on PdfiumViewer which appears to only work on Framework.

kgrwhite
  • 106
  • 1
  • 7