NuGet Packages Required

17 Oct 20246 minutes to read

Installing Syncfusion DocIO through NuGet Packages

NuGet is the one of the easiest way to download and install DocIO library to read, write and edit the Word documents. The following NuGet packages need to be installed in your application.

Platform(s) Package name Package manager console command

Windows Forms

, Console Application (Targeting .NET Framework)
Syncfusion.DocIO.WinForms.nupkg Install-Package Syncfusion.DocIO.WinForms

WPF

Syncfusion.DocIO.Wpf.nupkg Install-Package Syncfusion.DocIO.Wpf
.NET Framework 4.0 Client Profile Syncfusion.DocIO.ClientProfile.nupkg Install-Package Syncfusion.DocIO.ClientProfile

ASP.NET MVC4

Syncfusion.DocIO.AspNet.Mvc4.nupkg Install-Package Syncfusion.DocIO.AspNet.Mvc4

ASP.NET MVC5

Syncfusion.DocIO.AspNet.Mvc5.nupkg Install-Package Syncfusion.DocIO.AspNet.Mvc5

ASP.NET Core

, Console Application (Targeting .NET Core) and

Blazor

Syncfusion.DocIO.Net.Core.nupkg Install-Package Syncfusion.DocIO.Net.Core

Xamarin

Syncfusion.Xamarin.DocIO.nupkg Install-Package Syncfusion.Xamarin.DocIO

UWP

Syncfusion.DocIO.UWP.nupkg Install-Package Syncfusion.DocIO.UWP

Windows UI Library (WinUI)


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

Syncfusion.DocIO.NET.nupkg Install-Package Syncfusion.DocIO.NET

Retired Platforms

The following NuGet packages need to be included in your application based on the platform.

Platform(s) Package name Package manager console command

ASP.NET


Syncfusion.DocIO.AspNet.nupkg Install-Package Syncfusion.DocIO.AspNet

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. Syncfusion components are available in nuget.org
  3. 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.

Converting Word document to PDF

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

Platform(s) Package name Package manager console command

Windows Forms

, Console Application (Targeting .NET Framework)
Syncfusion.DocToPdfConverter.WinForms.nupkg Install-Package Syncfusion.DocToPdfConverter.WinForms

WPF

Syncfusion.DocToPdfConverter.Wpf.nupkg Install-Package Syncfusion.DocToPdfConverter.Wpf
.NET Framework 3.5 or 4.0 Client Profile Syncfusion.DocToPdfConverter.ClientProfile.nupkg Install-Package Syncfusion.DocToPdfConverter.ClientProfile

ASP.NET MVC4

Syncfusion.DocToPdfConverter.AspNet.Mvc4.nupkg Install-Package Syncfusion.DocToPdfConverter.AspNet.Mvc4

ASP.NET MVC5

Syncfusion.DocToPdfConverter.AspNet.Mvc5.nupkg Install-Package Syncfusion.DocToPdfConverter.AspNet.Mvc5

ASP.NET Core

, Console Application (Targeting .NET Core) and

Blazor

Syncfusion.DocIORenderer.Net.Core.nupkg

Note:
Please refer

here

to know about the NuGet packages that need to be installed to perform Word to PDF conversion in Linux OS.
Install-Package Syncfusion.DocIORenderer.Net.Core

Xamarin

Syncfusion.Xamarin.DocIORenderer.nupkg Install-Package Syncfusion.Xamarin.DocIORenderer

Windows UI Library (WinUI)


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

Syncfusion.DocIORenderer.NET Install-Package Syncfusion.DocIORenderer.NET

Retired Platforms

The following NuGet packages need to be included in your application based on the platform.

Platform(s) Package name Package manager console command

ASP.NET


Syncfusion.DocToPdfConverter.AspNet.nupkg Install-Package Syncfusion.DocToPdfConverter.AspNet

NOTE

  1. Please refer the procedure to deploy your .NET Core application in Linux OS from here.
  2. From v23.1.40, the dependent package SkiaSharp is upgraded from 2.88.2 to 2.88.6 version and it is mandatory to use SkiaSharp.NativeAssets.Linux v2.88.6 and HarfBuzzSharp.NativeAssets.Linux v7.3.0 packages for converting Word documents into PDF in Linux environment.
  3. “DocIO supports Word to PDF conversion in UWP application using DocIORenderer.” For further information, please refer here

Converting Word document to image

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

Platform(s) Package name Package manager console command
Windows Forms, Console Application (Targeting .NET Framework) Syncfusion.DocIO.WinForms.nupkg Install-Package Syncfusion.DocIO.WinForms
WPF Syncfusion.DocIO.Wpf.nupkg Install-Package Syncfusion.DocIO.Wpf
.NET Framework 3.5 or 4.0 Client Profile Syncfusion.DocIO.ClientProfile.nupkg Install-Package Syncfusion.DocIO.ClientProfile
ASP.NET MVC4 Syncfusion.DocIO.AspNet.Mvc4.nupkg Install-Package Syncfusion.DocIO.AspNet.Mvc4
ASP.NET MVC5 Syncfusion.DocIO.AspNet.Mvc5.nupkg Install-Package Syncfusion.DocIO.AspNet.Mvc5
ASP.NET Core, Console Application (Targeting .NET Core) and Blazor Syncfusion.DocIORenderer.Net.Core.nupkg

Note:
Please refer

here

to know about the NuGet packages that need to be installed to perform Word to Image conversion in Linux OS.
Install-Package Syncfusion.DocIORenderer.Net.Core
Xamarin Syncfusion.Xamarin.DocIORenderer.nupkg Install-Package Syncfusion.Xamarin.DocIORenderer
Windows UI Library (WinUI)
.NET Multi-platform App UI (.NET MAUI)
Syncfusion.DocIORenderer.NET Install-Package Syncfusion.DocIORenderer.NET

Retired Platforms

The following NuGet packages need to be included in your application based on the platform.

Platform(s) Package name Package manager console command

ASP.NET


Syncfusion.DocIO.AspNet.nupkg Install-Package Syncfusion.DocIO.AspNet

Converting Charts

The following NuGet package need to be installed additionally to preserve chart as image in Word to PDF, and Image conversions.

Platform(s) Package name Package manager console command
Windows Forms, Console Application (Targeting .NET Framework) Syncfusion.OfficeChartToImageConverter.WinForms.nupkg Install-Package Syncfusion.OfficeChartToImageConverter.WinForms
WPF Syncfusion.OfficeChartToImageConverter.Wpf.nupkg Install-Package Syncfusion.OfficeChartToImageConverter.Wpf
ASP.NET MVC4 Syncfusion.OfficeChartToImageConverter.AspNet.Mvc4.nupkg Install-Package Syncfusion.OfficeChartToImageConverter.AspNet.Mvc4
ASP.NET MVC5 Syncfusion.OfficeChartToImageConverter.AspNet.Mvc5.nupkg Install-Package Syncfusion.OfficeChartToImageConverter.AspNet.Mvc5

Retired Platforms

The following NuGet packages need to be included in your application based on the platform.

Platform(s) Package name Package manager console command
ASP.NET
Syncfusion.OfficeChartToImageConverter.AspNet.nupkg Install-Package Syncfusion.OfficeChartToImageConverter.AspNet

NuGet Package Installation and Uninstallation

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

DocIO 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 following commands.

Windows Forms

NuGet Package: Syncfusion.DocIO.WinForms

The package contains DocIO library that allows you to create, read and edit Word documents.

// Install package
Install-Package Syncfusion.DocIO.WinForms
// Uninstall package
Uninstall-Package Syncfusion.DocIO.WinForms -RemoveDependencies 

NuGet Package: Syncfusion.DocToPdfConverter.WinForms

The package contains the DocToPdfConverter .NET library that allows you to convert the Word documents to PDF.

// Install package
Install-Package Syncfusion.DocToPdfConverter.WinForms
// Uninstall package
Uninstall-Package Syncfusion.DocToPdfConverter.WinForms -RemoveDependencies 

NuGet Package: Syncfusion.OfficeChartToImageConverter.WinForms

The package contains OfficeChartToImageConverter .NET library for converting the chart present in word document to image.

// Install package
Install-Package Syncfusion.OfficeChartToImageConverter.WinForms
// Uninstall package
Uninstall-Package Syncfusion.OfficeChartToImageConverter.WinForms -RemoveDependencies 

WPF

NuGet Package: Syncfusion.DocIO.Wpf

The package contains DocIO library that allows you to create, read and edit Word documents.

// Install package
Install-Package Syncfusion.DocIO.Wpf
// Uninstall package
Uninstall-Package Syncfusion.DocIO.Wpf -RemoveDependencies 

NuGet Package: Syncfusion.DocToPdfConverter.Wpf

The package contains the DocToPdfConverter .NET library that allows you to convert the Word documents to PDF.

// Install package
Install-Package Syncfusion.DocToPdfConverter.Wpf
// Uninstall package
Uninstall-Package Syncfusion.DocToPdfConverter.Wpf -RemoveDependencies 

NuGet Package: Syncfusion.OfficeChartToImageConverter.Wpf

The package contains OfficeChartToImageConverter .NET library for converting the chart present in word document to image.

// Install package
Install-Package Syncfusion.OfficeChartToImageConverter.Wpf
// Uninstall package
Uninstall-Package Syncfusion.OfficeChartToImageConverter.Wpf -RemoveDependencies 

ASP.NET MVC4

NuGet Package: Syncfusion.DocIO.AspNet.Mvc4

The package contains DocIO library that allows you to create, read and edit Word documents.

// Install package
Install-Package Syncfusion.DocIO.AspNet.Mvc4
// Uninstall package
Uninstall-Package Syncfusion.DocIO.AspNet.Mvc4 -RemoveDependencies 

NuGet Package: Syncfusion.DocToPdfConverter.AspNet.Mvc4

The package contains the DocToPdfConverter .NET library that allows you to convert the Word documents to PDF.

// Install package
Install-Package Syncfusion.DocToPdfConverter.AspNet.Mvc4
// Uninstall package
Uninstall-Package Syncfusion.DocToPdfConverter.AspNet.Mvc4 -RemoveDependencies 

NuGet Package: Syncfusion.OfficeChartToImageConverter.AspNet.Mvc4

The package contains OfficeChartToImageConverter .NET library for converting the chart present in word document to image.

// Install package
Install-Package Syncfusion.OfficeChartToImageConverter.AspNet.Mvc4
// Uninstall package
Uninstall-Package Syncfusion.OfficeChartToImageConverter.AspNet.Mvc4 -RemoveDependencies 

ASP.NET MVC5

NuGet Package: Syncfusion.DocIO.AspNet.Mvc5

The package contains DocIO library that allows you to create, read and edit Word documents.

// Install package
Install-Package Syncfusion.DocIO.AspNet.Mvc5
// Uninstall package
Uninstall-Package Syncfusion.DocIO.AspNet.Mvc5 -RemoveDependencies 

NuGet Package: Syncfusion.DocToPdfConverter.AspNet.Mvc5

The package contains the DocToPdfConverter .NET library that allows you to convert the Word documents to PDF.

// Install package
Install-Package Syncfusion.DocToPdfConverter.AspNet.Mvc5
// Uninstall package
Uninstall-Package Syncfusion.DocToPdfConverter.AspNet.Mvc5 -RemoveDependencies 

NuGet Package: Syncfusion.OfficeChartToImageConverter.AspNet.Mvc5

The package contains OfficeChartToImageConverter .NET library for converting the chart present in word document to image.

// Install package
Install-Package Syncfusion.OfficeChartToImageConverter.AspNet.Mvc5
// Uninstall package
Uninstall-Package Syncfusion.OfficeChartToImageConverter.AspNet.Mvc5 -RemoveDependencies 

ASP.NET Core and Blazor

NuGet Package: Syncfusion.DocIO.Net.Core

The package contains DocIO portable library that allows you to create, read and edit Word documents.

// Install package
Install-Package Syncfusion.DocIO.Net.Core
// Uninstall package
Uninstall-Package Syncfusion.DocIO.Net.Core -RemoveDependencies 

NuGet Package: Syncfusion.DocIORenderer.Net.Core

The package contains the DocIORenderer .NET portable library that allows you to convert the Word documents to PDF.

// Install package
Install-Package Syncfusion.DocIORenderer.Net.Core
// Uninstall package
Uninstall-Package Syncfusion.DocIORenderer.Net.Core -RemoveDependencies 

Xamarin

NuGet Package: Syncfusion.Xamarin.DocIO

The package contains DocIO portable library that allows you to create, read and edit Word documents.

// Install package
Install-Package Syncfusion.Xamarin.DocIO
// Uninstall package
Uninstall-Package Syncfusion.Xamarin.DocIO -RemoveDependencies 

NuGet Package: Syncfusion.Xamarin.DocIORenderer

The package contains the DocIORenderer .NET portable library that allows you to convert the Word documents to PDF.

// Install package
Install-Package Syncfusion.Xamarin.DocIORenderer
// Uninstall package
Uninstall-Package Syncfusion.Xamarin.DocIORenderer -RemoveDependencies 

UWP

NuGet Package: Syncfusion.DocIO.UWP

The package contains DocIO library that allows you to create, read and edit Word documents.

// Install package
Install-Package Syncfusion.DocIO.UWP
// Uninstall package
Uninstall-Package Syncfusion.DocIO.UWP -RemoveDependencies 

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

NuGet Package: Syncfusion.DocIO.NET

The package contains DocIO library that allows you to create, read and edit Word documents.

// Install package
Install-Package Syncfusion.DocIO.NET
// Uninstall package
Uninstall-Package Syncfusion.DocIO.NET -RemoveDependencies 

NuGet Package: Syncfusion.DocIORenderer.NET

The package contains the DocIORenderer .NET library that allows you to convert the Word documents to PDF.

// Install package
Install-Package Syncfusion.DocIORenderer.NET
// Uninstall package
Uninstall-Package Syncfusion.DocIORenderer.NET -RemoveDependencies