Skip to main content
A newer version of this page is available. .

Use NuGet Packages to Install Office File API Components

  • 3 minutes to read

This topic describes how to obtain and install NuGet packages that contain Office File API products for .NET Framework, .NET Core, and .NET 5.

Available Packages

Package

Description

DevExpress.Document.Processor

Includes all Office File API products.
You need a license for the DevExpress Office File API Subscription 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 20.2 Local package source. The DevExpress installer copies all NuGet packages to the C:\Program Files (x86)\DevExpress 20.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 20.2.10

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
See Also