NuGet Packages Required

19 Jul 20233 minutes to read

To work with PDF documents, the following NuGet packages need to be installed in your application.

Platform(s) NuGet Package
Windows Forms
Console Application (Targeting .NET Framework)

Syncfusion.Pdf.WinForms.nupkg

WPF

Syncfusion.Pdf.Wpf.nupkg

.NET Framework 4.0 Client Profile

Syncfusion.Pdf.ClientProfile.nupkg

ASP.NET

Syncfusion.Pdf.AspNet.nupkg

ASP.NET MVC4

Syncfusion.Pdf.AspNet.Mvc4.nupkg

ASP.NET MVC5

Syncfusion.Pdf.AspNet.Mvc5.nupkg

UWP

Syncfusion.Pdf.UWP.nupkg

ASP.NET Core (Targeting NET Core)
Console Application (Targeting .NET Core)
Blazor

Syncfusion.Pdf.Net.Core.nupkg

ASP.NET Core (Targeting NET Framework)

Syncfusion.Pdf.AspNet.nupkg

Xamarin

Syncfusion.Xamarin.Pdf.nupkg

Windows UI (WinUI)
.NET Multi-platform App UI (.NET MAUI)

Syncfusion.Pdf.NET.nupkg

NOTE

  1. Starting with v16.2.0.x, if you reference Syncfusion assemblies from trial setup or from the NuGet feed, you also have to add “Syncfusion.Licensing” assembly reference and include a license key in your projects. Please refer to this link to know about registering Syncfusion license key in your application to use our components.
  2. From the Essential Studio 2018 Volume 3 release(v16.3.0.21), Syncfusion has changed some of the NuGet package names to search and find the required Syncfusion NuGet packages in nuget.org easily based on the control and its platforms.

Converting HTML to PDF

For converting HTML to PDF file, the following NuGet packages need to to be installed in your .NET application from nuget.org.

NOTE

The HTML to PDF converter library internally uses the Blink rendering engine for the conversion. The binaries will differ for Windows, Linux, Mac, and AWS. So, separate packages are provided based on OS. Include the packages based on your requirement.

Platform(s) NuGet Package
(.NET Core, .NET 5, .NET 6) Windows

Syncfusion.HtmlToPdfConverter.Net.Windows.nupkg

(.NET Core, .NET 5, .NET 6) Linux

Syncfusion.HtmlToPdfConverter.Net.Linux.nupkg

(.NET Core, .NET 5, .NET 6) Mac

Syncfusion.HtmlToPdfConverter.Net.Mac.nupkg

(.NET Core, .NET 5, .NET 6) Aws

Syncfusion.HtmlToPdfConverter.Net.Aws.nupkg

Use the following packages for .NET Framework targeted applications. If you are using other Syncfusion libraries or components, use the HTML to PDF converter library with the same platform packages.

Platform(s) NuGet Package
Windows Forms

Syncfusion.HtmlToPdfConverter.WinForms.nupkg

WPF

Syncfusion.HtmlToPdfConverter.Wpf.nupkg

ASP.NET

Syncfusion.HtmlToPdfConverter.AspNet.nupkg

ASP.NET MVC

Syncfusion.HtmlToPdfConverter.AspNet.Mvc5.nupkg

NOTE

  1. HTML to PDF conversion is not supported in Silverlight, Windows Phone, WinRT, Universal, Xamarin and UWP applications.
  2. Starting with v21.1.XX, The package structure is changed if you reference Syncfusion HTML to the PDF library from the NuGet feed. The Blink binaries paths are automatically added and do not need to add it manually. However, if you need to refer the blink binaries paths in your application manually, please use the BlinkPath in BlinkConverterSettings. Get the BlinkBinaries from the NuGet package runtime folder or get the binaries by installing the HTML converter installer.

PDF OCR

For recognizing text from the scanned PDF document, the following NuGet packages should be installed in your application:

Platform(s) NuGet package
Windows Forms,
Console Application (Targeting .NET Framework)

Syncfusion.PDF.OCR.WinForms.nupkg

WPF

Syncfusion.PDF.OCR.Wpf.nupkg

ASP.NET

Syncfusion.PDF.OCR.AspNet.nupkg

ASP.NET MVC4

Syncfusion.PDF.OCR.AspNet.Mvc4.nupkg

ASP.NET MVC5

Syncfusion.PDF.OCR.AspNet.Mvc5.nupkg

ASP.NET Core
Blazor

Syncfusion.PDF.OCR.Net.Core.nupkg

Converting Word to PDF

For converting Word document into PDF, the following NuGet packages need to be installed in your application.

Platform(s) NuGet Package
Windows Forms
Console Application (Targeting .NET Framework)

Syncfusion.DocToPdfConverter.WinForms.nupkg

WPF

Syncfusion.DocToPdfConverter.Wpf.nupkg

.NET Framework 4.0 Client Profile

Syncfusion.DocToPdfConverter.ClientProfile.nupkg

ASP.NET

Syncfusion.DocToPdfConverter.AspNet.nupkg

ASP.NET MVC4

Syncfusion.DocToPdfConverter.AspNet.Mvc4.nupkg

ASP.NET MVC5

Syncfusion.DocToPdfConverter.AspNet.Mvc5.nupkg

ASP.NET Core
Console Application (Targeting .NET Core)
Blazor

Syncfusion.DocIORenderer.Net.Core.nupkg

Xamarin

Syncfusion.Xamarin.DocIORenderer.nupkg

NOTE

Install SkiaSharp package version 1.59.3 in addition to DocIORenderer package.

Converting Excel document to PDF

For converting Excel document into PDF, the following NuGet packages need to be installed in your application.

Platform(s) NuGet Package
Windows Forms,
Console Application (Targeting .NET Framework)

Syncfusion.ExcelToPDFConverter.WinForms.nupkg

WPF

Syncfusion.ExcelToPDFConverter.Wpf.nupkg

.NET Framework 4.0 Client Profile

Syncfusion.ExcelToPdfConverter.ClientProfile.nupkg

ASP.NET Web Forms,
ASP.NET Core (Targeting .NET Framework)

Syncfusion.ExcelToPDFConverter.AspNet.nupkg

ASP.NET MVC4

Syncfusion.ExcelToPDFConverter.AspNet.Mvc4.nupkg

ASP.NET MVC5

Syncfusion.ExcelToPDFConverter.AspNet.Mvc5.nupkg

UWP,
ASP.NET Core (Targeting .NET Core),
Console Application (Targeting .NET Core)

Syncfusion.XlsIORenderer.Net.Core.nupkg

Xamarin

Syncfusion.Xamarin.XlsIORenderer.nupkg

Blazor (Server-App)

Syncfusion.XlsIORenderer.Net.Core.nupkg

NOTE

Excel to PDF conversion is supported from .NET Framework 2.0 and .NET Standard 1.4 onwards.

Converting Presentation document to PDF

For converting PowerPoint Presentation to PDF, the following NuGet packages need to be installed in your application.

Platform(s) NuGet Package
Windows Forms
Console Application (Targeting .NET Framework)

Syncfusion.PresentationToPdfConverter.WinForms.nupkg

WPF

Syncfusion.PresentationToPdfConverter.Wpf.nupkg

ASP.NET

Syncfusion.PresentationToPdfConverter.AspNet.nupkg

ASP.NET MVC4

Syncfusion.PresentationToPdfConverter.AspNet.Mvc4.nupkg

ASP.NET MVC5

Syncfusion.PresentationToPdfConverter.AspNet.Mvc5.nupkg

ASP.NET Core (Targeting .NET Core)
Console Application (Targeting .NET Core)
Blazor

Syncfusion.PresentationRenderer.Net.Core.nupkg

Xamarin

Syncfusion.Xamarin.PresentationRenderer.nupkg

NOTE

PowerPoint Presentation to PDF conversion is supported from .NET Standard 1.4 onwards for ASP.NET Core and Xamarin.

NuGet Package Installation and Uninstallation

To use NuGet package in your project, please refer the NuGet Package Installation and Uninstallation sections.

PDF NuGet packages can be installed and uninstalled using Package Manager Console. In Visual Studio, select Tools > NuGet Package Manager > Package Manager Console and execute the below commands in respective platforms.

NOTE

Syncfusion components are available in nuget.org

Platform(s) Install UnInstall
Windows Forms Install-package Syncfusion.Pdf.WinForms Uninstall-package Syncfusion.Pdf.WinForms -RemoveDependencies
WPF Install-package Syncfusion.Pdf.Wpf Uninstall-package Syncfusion.Pdf.Wpf -RemoveDependencies
ASP.NET Install-package Syncfusion.Pdf.AspNet Uninstall-package Syncfusion.Pdf.AspNet -RemoveDependencies
ASP.NET MVC4 Install-package Syncfusion.Pdf.AspNet.Mvc4 Uninstall-package Syncfusion.Pdf.AspNet.Mvc4 -RemoveDependencies
ASP.NET MVC5 Install-package Syncfusion.Pdf.AspNet.Mvc5 Uninstall-package Syncfusion.Pdf.AspNet.Mvc5 -RemoveDependencies
UWP Install-package Syncfusion.Pdf.UWP Uninstall-package Syncfusion.Pdf.UWP
ASP.NET Core Install-package Syncfusion.Pdf.Net.Core Uninstall-package Syncfusion.Pdf.Net.Core –RemoveDependencies
Xamarin Install-package Syncfusion.Xamarin.Pdf Uninstall-package Syncfusion.Xamarin.Pdf -RemoveDependencies