Skip to main content
A newer version of this page is available. .
.NET Standard 2.0+
  • The page you are viewing does not exist in the .NET Framework 4.5.2+ platform documentation. This link will take you to the parent topic of the current section.

Install NuGet Packages

  • 5 minutes to read

This topic describes how to obtain and install NuGet packages that contain Office File API products.

Available Packages

Package

Description

DevExpress.Document.Processor

Includes all Office File API products.
You need a license to the DevExpress Office File API or DevExpress Universal Subscription to use this package in production code.

DevExpress.RichEdit.Core

Contains the runtime assemblies for the Word Processing Document API.

DevExpress.Printing.Core

Includes the Excel Export Library.

Obtain Your NuGet Feed URL

Go to nuget.devexpress.com, log in as a registered DevExpress customer, and click Obtain Feed URL. Use the generated URL to install DevExpress NuGet packages from Visual Studio, dotnet CLI or NuGet CLI.

Install Packages

Visual Studio’s NuGet Package Manager

Register your DevExpress NuGet feed as a package source in the Visual Studio’s Options dialog (Tools -> Options). Select NuGet Package Manager | Package Sources in the dialog, and add the DevExpress feed to the package source list.

NuGet_Package_Manager_Register_Feed

In the Solution Explorer, right-click the project and select Manage NuGet Packages…. In the invoked NuGet Package Manager, select the DevExpress NuGet feed as a package source and install the DevExpress.Document.Processor package.

NuGet_Package_Manager_DevExpress

Note

The DevExpress.RichEdit.Core and DevExpress.Printing.Core packages are not available in the NuGet Package Manager when you use the DevExpress NuGet feed URL as a package source. However, you can install these packages from the DevExpress Local package source, Package Manager Console, dotnet CLI, or NuGet CLI.

DevExpress Local Source

If you already have DevExpress Office File API components installed on your machine, you can obtain the Office File API packages from the DevExpress 19.2 Local package source. The DevExpress installer copies all NuGet packages to the C:\Program Files (x86)\DevExpress 19.2\Components\System\Components\packages directory and creates a local NuGet feed within Visual Studio.

NuGet_Package_Manager_DevExpress_Local

Package Manager Console

You can also use the Package Manager Console to install the Office File API packages. Click Tools -> NuGet Package Manager -> Package Manager Console to open the console and run the Install-Package command.

# Add DevExpress.Document.Processor to the current project
PM> Install-Package DevExpress.Document.Processor -Version 19.2.15

NuGet CLI

Use the install command to install the Office File API packages via the NuGet command line-interface.

# Add DevExpress.Document.Processor to the current project
# The -Source option specifies the package source (DevExpress NuGet feed)
nuget install DevExpress.Document.Processor -Source https://nuget.devexpress.com/{your-feed-authorization-key}/api

Dotnet CLI

Use the dotnet add package command to install the Office File API packages via the dotnet command-line tool.

# Add DevExpress.Document.Processor to the current project
# Use the -s key to specify the package source (DevExpress NuGet feed)
dotnet add package DevExpress.Document.Processor -s https://nuget.devexpress.com/{your-feed-authorization-key}/api

Available Packages

Package

Description

DevExpress.WindowsDesktop.Document.Processor

Includes all Office File API products.
You need a license to the DevExpress Office File API or DevExpress Universal Subscription to use this package in production code.

DevExpress.WindowsDesktop.Core

Includes the Word Processing Document API and Excel Export Library.

Obtain Your NuGet Feed URL

Go to nuget.devexpress.com, log in as a registered DevExpress customer and click Obtain Feed URL. Use the generated URL to install DevExpress NuGet packages from Visual Studio, dotnet CLI or NuGet CLI.

Install Packages

Visual Studio’s NuGet Package Manager

Register your DevExpress NuGet feed as a package source in Visual Studio’s Options dialog (Tools -> Options). Select NuGet Package Manager | Package Sources in the dialog, and add the DevExpress feed to the package source list.

NuGet_Package_Manager_Register_Feed

In the Solution Explorer, right-click the project and select Manage NuGet Packages…. In the invoked NuGet Package Manager, select the DevExpress NuGet feed as a package source and install the DevExpress.WindowsDesktop.Document.Processor package.

NuGet_Package_Manager_DevExpress_Core3

Note

The DevExpress.WindowsDesktop.Core package is not available in the NuGet Package Manager when you use the DevExpress NuGet feed URL as a package source. However, you can install this package from the DevExpress Local package source, Package Manager Console, dotnet CLI, or NuGet CLI.

DevExpress Local Source

Download and install the DevExpress .NET Core Desktop Product Installer. The installer copies all NuGet packages to the C:\Program Files (x86)\DevExpress 19.2\.NET Core Desktop Libraries\System\Components\packages directory and creates a local NuGet feed with Office File API components for .NET Core 3. In the NuGet Package Manager, select DevExpress .NET Core Desktop 19.2 Local as a package source and install the Office File API packages.

NuGet_Package_Manager_DevExpress_Local_Core3

Package Manager Console

You can also use the Package Manager Console to install the Office File API packages. Click Tools -> NuGet Package Manager -> Package Manager Console to open the console and run the Install-Package command.

# Add DevExpress.WindowsDesktop.Document.Processor to the current project
PM> Install-Package DevExpress.WindowsDesktop.Document.Processor -Version 19.2.15

NuGet CLI

Use the install command to install the Office File API packages via the NuGet command line-interface.

# Add DevExpress.WindowsDesktop.Document.Processor to the current project
# The -Source option specifies the package source (DevExpress NuGet feed)
nuget install DevExpress.WindowsDesktop.Document.Processor -Source https://nuget.devexpress.com/{your-feed-authorization-key}/api

Dotnet CLI

Use the dotnet add package command to install the Office File API packages via the dotnet command-line tool.

# Add DevExpress.WindowsDesktop.Document.Processor to the current project
# Use the -s key to specify the package source (DevExpress NuGet feed)
dotnet add package DevExpress.WindowsDesktop.Document.Processor -s https://nuget.devexpress.com/{your-feed-authorization-key}/api
See Also