Skip to main content
Skip table of contents

Installing iText Community for .NET developers

How to install iText Community .NET version

Thank you for your interest in our open-source PDF library, we hope you will enjoy using our product and share your experiences with us and the iText community. We will walk you through the installation process, from downloading iText Community to adding the dependency to your .NET build tool.

If you require any extra help please have a look at our FAQs or the community discussion at StackOverflow. If you are interested in getting support from our in-house developers and/or a license key for commercial iText products, you will need to acquire a commercial license.

Before you install

  • Make sure you have read and agreed upon the AGPL license. All downloads we offer open-source come with the AGPL license model.

  • Important remark: In our installation guides, we use NuGet as a build tool for .NET. - iText Community

Installation

Automated dependency management

iText Community is available on NuGet. If you need all iText Community modules, you can install them with a single NuGetPackage by typing the following command in the NuGet Package Manager: Install-Package itext.

Using sign functionality

All the necessary bouncy-castle related classes are grouped into two modules: bouncy-castle-adapter and bouncy-castle-fips-adapter.

One of these modules is required to be in a classpath for the correct usage of cryptographic and signatures-related logic of our kernel and sign modules, but by default they are not added as a dependency in order to provide the ability to choose one of them.

It is important not to add them both as a dependency since they are not compatible.

itext7.bouncy-castle-adapter NuGet package encapsulates bouncy-castle related classes for this NuGet dependency:

  • Portable.BouncyCastle

itext7.bouncy-castle-fips-adapter NuGet package encapsulates bouncy-castle related classes for these two assemblies (dlls taken from https://www.bouncycastle.org/fips-csharp/):

  • bc-fips-1.0.1.1

  • bcpkix-fips-1.0.1

Since those two dll files are not signed, we can't use them with .NET Framework and therefore the only supported target framework for bouncy-castle-fips-adapter project is netstandard2.0.

You can read more about it here.

Using the iText Artifactory Server

iText NuGet packages are also available on the iText Artifactory server. You can add it as a custom NuGet repository to Visual Studio. In the NuGet Package Manager, go to the settings and add the following URL as a package source: https://repo.itextsupport.com/api/nuget/nuget. You can also browse the iText Artifactory server and download NuGet packages manually.

After Installation

Check out the .NET jump-start tutorial and helpful code examples here on the Knowledge Base, or you can find our API documentation,in the Resources section of our website.

iText Core .NET on GitHub

Adding our iText open-source add-ons

If you would like to add one of our open-source add-ons, please first have a look at the compatibility matrix and the installation guides of each of these add-ons.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.