Skip to content

Latest commit

 

History

History
59 lines (44 loc) · 2.12 KB

README.md

File metadata and controls

59 lines (44 loc) · 2.12 KB

Updated (1-6-2021)

This is an updated fork of the archived bblanchon/pdfium-binaries project. It is available as PdfiumViewer.Forms via nuget and includes the following changes/ updates:

Pre-compiled binaries of PDFium

This project hosts pre-compiled binaries of the PDFium library.

See Actions page to download Artifacts from each run.

Nuget links

Here are the nuget links for latest release:

Platform PDFium with V8 and XFA
Windows 32-bit pdfium-windows-x86-v8.zip (12 MB)
Windows 64-bit pdfium-windows-x64-v8.zip (12 MB)

How to use the files in a .csproj

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>WinExe</OutputType>
    <TargetFramework>net5.0-windows</TargetFramework>
    <UseWindowsForms>true</UseWindowsForms>
    <!-- Use these to control where the files are copied -->
    <PdfiumBinariesOutputFolder>runtimes\</PdfiumBinariesOutputFolder>
    <PdfiumX64BinaryOutputFolder>win-x64\natives\</PdfiumX64BinaryOutputFolder>
    <PdfiumX64IcudtlDatOutputFolder>runtimes\</PdfiumX64IcudtlDatOutputFolder>
    <PdfiumX86BinaryOutputFolder>win-x86\natives\</PdfiumX86BinaryOutputFolder>
    <PdfiumX86IcudtlDatOutputFolder>runtimes\</PdfiumX86IcudtlDatOutputFolder>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="PDFium.forms.x64.v8-xfa" Version="4522.0.4" />
    <PackageReference Include="PDFium.forms.x86.v8-xfa" Version="4522.0.4" />
  </ItemGroup>

</Project>

This project isn't affilated with Google nor Foxit.