NuGet Packages Required for Word Library

23 Jul 20269 minutes to read

Installing the Syncfusion® DocIO Library through NuGet Packages

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

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

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

Xamarin


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

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 the “Syncfusion.Licensing” assembly reference and include a license key in your project. Refer to this link to learn about registering the 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 for .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.
  4. Syncfusion has deprecated the ASP.NET package. We strongly recommend upgrading your applications to ASP.NET Core. Refer here to migrate from .NET Framework to .NET Core.

Converting a Word document to PDF

For converting a Word document to PDF, the following NuGet packages need to be installed in your application based on the platform.

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 learn about the NuGet packages that need to be installed to perform Word to PDF conversion in Linux OS.
Install-Package Syncfusion.DocIORenderer.Net.Core

Windows UI Library (WinUI)


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

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

TIPS

If you encounter issues while using the .NET Word library in ASP.NET Core, refer to the troubleshooting guide for recommended checks and solutions.

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

Xamarin


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

NOTE

  1. Please refer to the procedure to deploy your .NET Core application in Linux OS from here.
  2. From v32.1.19, the dependent package SkiaSharp is upgraded from version 3.116.1 to 3.119.1, and it is mandatory to use SkiaSharp.NativeAssets.Linux v3.119.1 and HarfBuzzSharp.NativeAssets.Linux v8.3.1.2 packages for converting Word documents to PDF in Linux environments.
  3. DocIO supports Word to PDF conversion in UWP applications using DocIORenderer. For further information, refer here.

Additional NuGet packages required for Linux

The SkiaSharp and HarfBuzzSharp native asset NuGet packages are required as additional dependencies when deploying your application in Linux environments. There are two types of NuGet packages—choose the appropriate ones based on your specific Linux environment.

The following table illustrates the native assets NuGet packages and their applicable Linux environments:

Required Native assets NuGet packages Applicable Linux environments

SkiaSharp.NativeAssets.Linux v3.119.1


HarfBuzzSharp.NativeAssets.Linux v8.3.1.2

  • Common Linux distributions such as Ubuntu, Alpine, CentOS, Debian, Fedora, and RHEL
  • Azure App Service
  • Google App Engine

SkiaSharp.NativeAssets.Linux.NoDependencies v3.119.1

  • AWS Lambda
  • AWS Elastic Beanstalk

Converting a Word document to an image

For converting a Word document to an image, the following NuGet packages need to be installed in your application based on the platform.

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 learn about the NuGet packages that need to be installed to perform Word to image conversion in Linux OS.
Install-Package Syncfusion.DocIORenderer.Net.Core
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

Xamarin


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

Additional NuGet packages required for Linux

The SkiaSharp and HarfBuzzSharp native asset NuGet packages are required as additional dependencies when deploying your application in Linux environments. There are two types of NuGet packages—choose the appropriate ones based on your specific Linux environment.

The following table illustrates the native assets NuGet packages and their applicable Linux environments:

Required Native assets NuGet packages Applicable Linux environments

SkiaSharp.NativeAssets.Linux v3.119.1


HarfBuzzSharp.NativeAssets.Linux v8.3.1.2

  • Common Linux distributions such as Ubuntu, Alpine, CentOS, Debian, Fedora, and RHEL
  • Azure App Service
  • Google App Engine

SkiaSharp.NativeAssets.Linux.NoDependencies v3.119.1

  • AWS Lambda
  • AWS Elastic Beanstalk

Converting Charts

The following NuGet package needs to be installed additionally to preserve charts as images in Word to PDF and image conversions.

NOTE

For ASP.NET Core, Blazor, UWP, WinUI, and .NET MAUI applications, chart preservation during Word to PDF or image conversion is handled by the corresponding DocIORenderer package (Syncfusion.DocIORenderer.Net.Core or Syncfusion.DocIORenderer.NET). A separate OfficeChartToImageConverter package is not required for these platforms.

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 to 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 the 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 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 the OfficeChartToImageConverter .NET library for converting the chart present in a Word document to an 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 the 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 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 the OfficeChartToImageConverter .NET library for converting the chart present in a Word document to an 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 the 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 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 the OfficeChartToImageConverter .NET library for converting the chart present in a Word document to an 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 the 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 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 the OfficeChartToImageConverter .NET library for converting the chart present in a Word document to an 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 the 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 Word documents to PDF.

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

UWP

NuGet Package: Syncfusion.DocIO.UWP

The package contains the 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 the 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 Word documents to PDF.

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