Integrate the PSPDFKit .NET Library from the Public NuGet Repository

Integrating the PSPDFKit .NET Library is simple with the use of the public NuGet repository. Like most other .NET libraries and dependencies, you can add PSPDFKit directly from Visual Studio or with the dotnet command line app.

The following instructions are generic for any .NET product.

Add the PSPDFKit .NET Library via the dotnet Command Line Application

A cross-platform solution for adding the PSPDFKit .NET Library to your project would be to use the dotnet command line application. Run the following command in your project folder to add the PSPDFKit .NET Library package:

1
dotnet add package PSPDFKit.NET --version 1.3.0

This will download PSPDFKit and add it as a dependency to your project. Now all you need to do is initialize the library with your license key.

Add the PSPDFKit .NET Library via Visual Studio Windows

It’s possible to add the PSPDFKit .NET Library within the Visual Studio GUI if you’re working in Windows. Please see the Microsoft guide on packages for instructions on how to add a package, and search for PSPDFKit.NET when browsing for the package.

After adding the package, PSPDFKit will be downloaded and added as a dependency to your project. Now all you need to do is initialize the library with your license key.