NuGet Packages Required

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

Platform(s) NuGet Package
Windows Forms

Syncfusion.XlsIO.WinForms.nupkg

WPF

Syncfusion.XlsIO.Wpf.nupkg

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

Syncfusion.XlsIO.AspNet.nupkg

ASP.NET MVC4

Syncfusion.XlsIO.AspNet.Mvc4.nupkg

ASP.NET MVC5

Syncfusion.XlsIO.AspNet.Mvc5.nupkg

UWP

Syncfusion.XlsIO.UWP.nupkg

ASP.NET Core (Targeting .net core application)

Syncfusion.XlsIO.Net.Core.nupkg

Xamarin

Syncfusion.Xamarin.XlsIO.nupkg

Blazor

Syncfusion.XlsIO.Net.Core.nupkg

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

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 Excel document into PDF

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

Platform(s) NuGet Package
Windows Forms

Syncfusion.ExcelToPDFConverter.WinForms.nupkg

WPF

Syncfusion.ExcelToPDFConverter.Wpf.nupkg

ASP.NET Web Forms

Syncfusion.ExcelToPDFConverter.AspNet.nupkg

ASP.NET MVC4

Syncfusion.ExcelToPDFConverter.AspNet.Mvc4.nupkg

ASP.NET MVC5

Syncfusion.ExcelToPDFConverter.AspNet.Mvc5.nupkg

UWP and .NET Core

Syncfusion.XlsIORenderer.Net.Core.nupkg

Xamarin

Syncfusion.Xamarin.XlsIORenderer.nupkg

Blazor (Server-Side)

Syncfusion.XlsIORenderer.Net.Core.nupkg

NOTE

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

Converting Excel Worksheet to Image

For converting an Excel worksheet to image, the following NuGet packages need to be installed in your application.

Platform(s) NuGet Package
Windows Forms

Syncfusion.XlsIO.WinForms.nupkg

WPF

Syncfusion.XlsIO.Wpf.nupkg

ASP.NET Web Forms

Syncfusion.XlsIO.AspNet.nupkg

ASP.NET MVC4

Syncfusion.XlsIO.AspNet.Mvc4.nupkg

ASP.NET MVC5

Syncfusion.XlsIO.AspNet.Mvc5.nupkg

UWP and .NET Core

Syncfusion.XlsIORenderer.Net.Core.nupkg

Xamarin

Syncfusion.Xamarin.XlsIORenderer.nupkg

Blazor (Server-Side)

Syncfusion.XlsIORenderer.Net.Core.nupkg

NOTE

Worksheet to image conversion is supported from .NET Framework 2.0 and .NET Standard 1.4 onwards.

Converting Charts in XlsIO

The below NuGet package need to be installed additionally to convert the charts present in Excel documents.

Platform(s) NuGet Package
Windows Forms

Syncfusion.ExcelChartToImageConverter.WinForms.nupkg

WPF

Syncfusion.ExcelChartToImageConverter.Wpf.nupkg

ASP.NET Web Forms

Syncfusion.ExcelChartToImageConverter.AspNet.nupkg

ASP.NET MVC4

Syncfusion.ExcelChartToImageConverter.AspNet.Mvc4.nupkg

ASP.NET MVC5

Syncfusion.ExcelChartToImageConverter.AspNet.Mvc5.nupkg

UWP and .NET Core

Syncfusion.XlsIORenderer.Net.Core.nupkg

Xamarin

Syncfusion.Xamarin.XlsIORenderer.nupkg

Blazor (Server-Side)

Syncfusion.XlsIORenderer.Net.Core.nupkg

NOTE

  1. The “Syncfusion.ExcelChartToImageConverter.Wpf.nupkg” NuGet package is only supported from 4.0 .NET Framework onwards.
  2. The “Syncfusion.Xamarin.XlsIORenderer.nupkg” or “Syncfusion.XlsIORenderer.Net.Core.nupkg” NuGet packages supports chart to image conversion only from .NET Standard 2.0 onwards.

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.

NOTE

Syncfusion components are available in nuget.org

Platform(s) Install UnInstall
Windows Forms * Install-package Syncfusion.XlsIO.WinForms

* Install-package Syncfusion.ExcelToPdfConverter.WinForms

* Install-package Syncfusion.ExcelChartToImageConverter.WinForms
* Uninstall-package Syncfusion.XlsIO.WinForms -RemoveDependencies

* Uninstall-package Syncfusion.ExcelToPdfConverter.WinForms -RemoveDependencies

* Uninstall-package Syncfusion.ExcelChartToImageConverter.WinForms -RemoveDependencies
WPF * Install-package Syncfusion.XlsIO.Wpf

* Install-package Syncfusion.ExcelToPdfConverter.Wpf

* Install-package Syncfusion.ExcelChartToImageConverter.Wpf
* Uninstall-package Syncfusion.XlsIO.Wpf -RemoveDependencies

* Uninstall-package Syncfusion.ExcelToPdfConverter.Wpf -RemoveDependencies

* Uninstall-package Syncfusion.ExcelChartToImageConverter.Wpf -RemoveDependencies
ASP.NET Web Forms * Install-package Syncfusion.XlsIO.AspNet

* Install-package Syncfusion.ExcelToPdfConverter.AspNet

* Install-package Syncfusion.ExcelChartToImageConverter.AspNet
* Uninstall-package Syncfusion.XlsIO.AspNet -RemoveDependencies

* Uninstall-package Syncfusion.ExcelToPdfConverter.AspNet -RemoveDependencies

* Uninstall-package Syncfusion.ExcelChartToImageConverter.AspNet -RemoveDependencies
ASP.NET MVC4 * Install-package Syncfusion.XlsIO.AspNet.MVC4

* Install-package Syncfusion.ExcelToPdfConverter.AspNet.MVC4

* Install-package Syncfusion.ExcelChartToImageConverter.AspNet.MVC4
* Uninstall-package Syncfusion.XlsIO.AspNet.MVC4 -RemoveDependencies

* Uninstall-package Syncfusion.ExcelToPdfConverter.AspNet.MVC4 -RemoveDependencies

* Uninstall-package Syncfusion.ExcelChartToImageConverter.AspNet.MVC4 -RemoveDependencies
ASP.NET MVC5 * Install-package Syncfusion.XlsIO.AspNet.MVC5

* Install-package Syncfusion.ExcelToPdfConverter.AspNet.MVC5

* Install-package Syncfusion.ExcelChartToImageConverter.AspNet.MVC5
* Uninstall-package Syncfusion.XlsIO.AspNet.MVC5 -RemoveDependencies

* Uninstall-package Syncfusion.ExcelToPdfConverter.AspNet.MVC5 -RemoveDependencies

* Uninstall-package Syncfusion.ExcelChartToImageConverter.AspNet.MVC5 -RemoveDependencies
UWP Install-package Syncfusion.XlsIO.UWP Uninstall-package Syncfusion.XlsIO.UWP –RemoveDependencies
ASP.NET Core and Blazor Server-Side * Install-package Syncfusion.XlsIO.Net.Core

* Install-package Syncfusion.XlsIORenderer.Net.Core
* Uninstall-package Syncfusion.XlsIO.Net.Core –RemoveDependencies

* Uninstall-package Syncfusion.XlsIORenderer.Net.Core –RemoveDependencies
Xamarin * Install-package Syncfusion.Xamarin.XlsIO

* Install-package Syncfusion.Xamarin.XlsIORenderer
* Uninstall-package Syncfusion.Xamarin.XlsIO –RemoveDependencies

* Uninstall-package Syncfusion.Xamarin.XlsIORenderer –RemoveDependencies
Blazor Client-Side * Install-package Syncfusion.XlsIO.Net.Core

* Uninstall-package Syncfusion.XlsIO.Net.Core –RemoveDependencies