Install GroupDocs.Viewer for .NET

This topic describes how to add the GroupDocs.Viewer library to your .NET project. You can use a NuGet package to install this library or you can download necessary DLLs from the GroupDocs website:

Install GroupDocs.Viewer using NuGet packages

You can use the following tools to install the GroupDocs.Viewer NuGet package:

Use the NuGet Package Manager

Open your project or solution in Visual Studio and follow the steps below to install the GroupDocs.Viewer package using the NuGet Package Manager:

  1. In Solution Explorer, right-click your project name and select Manage NuGet Packages to display the NuGet Package Manager.

    Manage NuGet packages in Visual Studio

  2. Select the Browse tab and type GroupDocs.Viewer in the search box. Select the latest version of the GroupDocs.Viewer package and click Install.

Use the Package Manager Console

The Package Manager Console uses PowerShell commands to install, update, and remove NuGet packages. Open your project in Visual Studio and click Tools -> NuGet Package Manager -> Package Manager Console to open the console window. Run the the following command to install the latest version of the GroupDocs.Viewer library:

PM> Install-Package GroupDocs.Viewer

Use Package Manager Console

Use the .NET CLI

You can also use the .NET CLI tool to install and update NuGet packages. Open a terminal in your project’s folder and execute the following command to install the GroupDocs.Viewer package:

dotnet add package GroupDocs.Viewer

Download GroupDocs.Viewer from the official website

Visit and download the GroupDocs.Viewer assemblies as a ZIP archive or MSI installer. To reference the downloaded assembly files in your project, do the following:

  1. Extract files from the ZIP archive or run the MSI installer to install GroupDocs.Viewer to a specific location on your computer.

  2. Open your solution or project in Visual Studio.

  3. In Solution Explorer, right-click the References or Dependencies node, and select Add Reference (for a .NET Framework project) or Add Project Reference (for a .NET Core project).

  4. In the Reference Manager dialog box, select the Browse tab and click Browse to locate the GroupDocs.Viewer.dll file for the target framework.

    Browse for the GroupDocs.Viewer assembly

  5. Click OK to add a reference to the GroupDocs.Viewer library to your project.

If your application targets .NET Core / .NET 5+, ensure that your project has all the required dependencies installed. Refer to the following page for details: GroupDocs.Viewer dependencies.