NuGet Packages Required for Excel to PDF conversion
8 Dec 20231 minute to read
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) |
|
WPF | |
.NET Framework 3.5 or 4.0 Client Profile | |
ASP.NET Web Forms, ASP.NET Core (Targeting .NET Framework) |
|
ASP.NET MVC4 | |
ASP.NET MVC5 | |
UWP, ASP.NET Core (Targeting .NET Core), Console Application (Targeting .NET Core) |
|
Xamarin | |
Blazor | |
WinUI and .NET MAUI |
NOTE
Excel to PDF conversion is supported from .NET Framework 2.0 and .NET Standard 1.4 onwards.
NOTE
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 applications to use our components.
NOTE
Syncfusion components are available in nuget.org
NOTE
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.
NOTE
Starting with v17.3.0.x, Syncfusion provides support to .NET Core 3.0. You can use the above WPF or Windows Forms platform NuGet packages for .NET Core 3.0 targeting applications and use the same “C# tab” code examples for it.
NuGet Package Installation and Uninstallation
To use NuGet package in your project, please refer the NuGet Package Installation and Uninstallation sections.
XlsIO 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.
Platform(s) | Install | UnInstall |
---|---|---|
Windows Forms | * Install-package Syncfusion.ExcelToPdfConverter.WinForms | * Uninstall-package Syncfusion.ExcelToPdfConverter.WinForms -RemoveDependencies |
WPF | * Install-package Syncfusion.ExcelToPdfConverter.Wpf | * Uninstall-package Syncfusion.ExcelToPdfConverter.Wpf -RemoveDependencies |
ASP.NET Web Forms | * Install-package Syncfusion.ExcelToPdfConverter.AspNet | * Uninstall-package Syncfusion.ExcelToPdfConverter.AspNet -RemoveDependencies |
ASP.NET MVC4 | * Install-package Syncfusion.ExcelToPdfConverter.AspNet.MVC4 | * Uninstall-package Syncfusion.ExcelToPdfConverter.AspNet.MVC4 -RemoveDependencies |
ASP.NET MVC5 | * Install-package Syncfusion.ExcelToPdfConverter.AspNet.MVC5 | * Uninstall-package Syncfusion.ExcelToPdfConverter.AspNet.MVC5 -RemoveDependencies |
UWP | Install-package Syncfusion.XlsIORenderer.Net.Core | Uninstall-package Syncfusion.XlsIORenderer.Net.Core –RemoveDependencies |
ASP.NET Core and Blazor | * Install-package Syncfusion.XlsIORenderer.Net.Core | * Uninstall-package Syncfusion.XlsIORenderer.Net.Core –RemoveDependencies |
Xamarin | * Install-package Syncfusion.Xamarin.XlsIORenderer | * Uninstall-package Syncfusion.Xamarin.XlsIORenderer –RemoveDependencies |
WinUI and .NET MAUI | * Install-package Syncfusion.XlsIORenderer.NET | * Uninstall-package Syncfusion.XlsIORenderer.NET –RemoveDependencies |