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: https://releases.groupdocs.com/viewer/net/.

Select GroupDocs.Viewer package and version

  • GroupDocs.Viewer
    - .NET Framework 4.6.2+ and .NET 6.0.
    - Depends on System.Drawing(.Common).

You can also use GroupDocs.Viewer with .NET Framework 2.0 (Visual Studio 2005-2008), .NET Framework 4.0 (Visual Studio 2010), and later .NET Framework versions by selecting one of the previous versions of the GroupDocs.Viewer package. See the complete list of package versions and supported frameworks in the table below.

Package versionTarget frameworks
24.4.0.NET Frameword 4.6.2, .NET 6.0
24.3.0.NET Frameword 4.6.2, .NET 6.0
24.2.0.NET Frameword 4.6.2, .NET Standard 2.1
24.1.1.NET Frameword 4.6.2, .NET Standard 2.1
See previous versions
Package versionTarget frameworks
23.12.0.NET Frameword 4.6.2, .NET Standard 2.1
23.11.0.NET Frameword 4.6.2, .NET Standard 2.1
23.10.0.NET Frameword 4.6.2, .NET Standard 2.1
23.8.0.NET Frameword 4.6.2, .NET Standard 2.1
23.6.0.NET Framework 4.0, .NET Standard 2.1
23.4.0.NET Framework 4.0, .NET Standard 2.1
23.3.0.NET Framework 4.0, .NET Standard 2.1
23.1.0.NET Framework 4.0, .NET Standard 2.1
22.11.0.NET Framework 4.0, .NET Standard 2.1, .NET 6.0
22.9.0.NET Framework 4.0, .NET Standard 2.1, .NET 6.0
22.7.0.NET Framework 4.0, .NET Standard 2.1, .NET 6.0
22.5.0.NET Framework 4.0, .NET Standard 2.1, .NET 6.0
22.3.0.NET 6.0, .NET Framework 4.0, .NET Standard 2.1
22.1.1.NET Framework 2.0, .NET Framework 4.0, .NET Standard 2.0
22.1.0.NET Framework 2.0, .NET Framework 4.0, .NET Standard 2.0
21.12.0.NET Framework 2.0, .NET Framework 4.0, .NET Standard 2.0
21.11.0.NET Framework 2.0, .NET Framework 4.0, .NET Standard 2.0
21.10.0.NET Framework 2.0, .NET Framework 4.0, .NET Standard 2.0
21.9.0.NET Framework 2.0, .NET Framework 4.0, .NET Standard 2.0
21.8.0.NET Framework 2.0, .NET Framework 4.0, .NET Standard 2.0
21.7.0.NET Framework 2.0, .NET Standard 2.0
21.6.0.NET Framework 2.0, .NET Standard 2.0
21.5.0.NET Framework 2.0, .NET Standard 2.0
21.4.1.NET Framework 2.0, .NET Standard 2.0
21.4.0.NET Framework 2.0, .NET Standard 2.0
21.3.0.NET Framework 2.0, .NET Standard 2.0
21.2.0.NET Framework 2.0, .NET Standard 2.0
21.1.0.NET Framework 2.0, .NET Standard 2.0
20.12.0.NET Framework 2.0, .NET Standard 2.0
20.11.0.NET Framework 2.0, .NET Standard 2.0
20.10.0.NET Framework 2.0, .NET Standard 2.0
20.9.0.NET Framework 2.0, .NET Standard 2.0
20.8.0.NET Framework 2.0, .NET Standard 2.0
20.7.0.NET Framework 2.0, .NET Standard 2.0
20.6.1.NET Framework 2.0, .NET Standard 2.0
20.6.0.NET Framework 2.0, .NET Standard 2.0
20.5.0.NET Framework 2.0, .NET Standard 2.0
20.4.0.NET Framework 2.0, .NET Standard 2.0
20.3.0.NET Framework 2.0, .NET Standard 2.0
20.2.0.NET Framework 2.0, .NET Standard 2.0
20.1.0.NET Framework 2.0, .NET Standard 2.0
19.12.0.NET Framework 2.0, .NET Standard 2.0
19.11.0.NET Framework 2.0, .NET Standard 2.0
19.10.0.NET Framework 2.0, .NET Standard 2.0
19.9.0.NET Framework 2.0
19.8.0.NET Framework 2.0
19.6.0.NET Framework 2.0
19.5.0.NET Framework 2.0
19.4.0.NET Framework 2.0
19.3.1.NET Framework 2.0
19.3.0.NET Framework 2.0
19.2.0.NET Framework 2.0
19.1.0.NET Framework 2.0
18.12.0.NET Framework 2.0
18.11.0.NET Framework 2.0
18.10.0.NET Framework 2.0
18.9.0.NET Framework 2.0
18.8.1.NET Framework 2.0
18.8.0.NET Framework 2.0
18.7.0.NET Framework 2.0
18.6.1.NET Framework 2.0
18.6.0.NET Framework 2.0
18.5.0.NET Framework 2.0
18.4.0.NET Framework 2.0
18.3.0.NET Framework 2.0
18.1.0.NET Framework 2.0
17.12.0.NET Framework 2.0
17.11.0.NET Framework 2.0
17.10.0.NET Framework 2.0
17.9.0.NET Framework 2.0
Package versionTarget frameworks
24.4.0.NET 6.0
24.3.1.NET 6.0
24.3.0.NET 6.0
Tip
.NET Framework versions are designed to be backward compatible. This means that you can use GroupDocs.Viewer for .NET targeting .NET Framework 2.0 with later versions of .NET Framework, such as .NET Framework 4.0. Learn more about .NET Framework backward compatibility here.

Install GroupDocs.Viewer using NuGet packages

You can use the following tools to install the GroupDocs.Viewer or GroupDocs.Viewer.CrossPlatform NuGet packages:

Use the NuGet Package Manager

Tip

Earlier versions of Visual Studio does not include NuGet Package Manager. It can be added as an extension from the Visual Studio Marketplace.

Open your project or solution in Visual Studio and follow the steps below to install the GroupDocs.Viewer or GroupDocs.Viewer.CrossPlatform 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.

    Add NuGet package in Visual Studio

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

    Install GroupDocs.Viewer NuGet package in Visual Studio

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 package:

PM> Install-Package GroupDocs.Viewer
PM> Install-Package GroupDocs.Viewer.CrossPlatform

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 package:

dotnet add package GroupDocs.Viewer
dotnet add package GroupDocs.Viewer.CrossPlatform

Download GroupDocs.Viewer from the official website

Visit https://releases.groupdocs.com/viewer/net/ 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 project).

    Add project reference in Visual Studio

  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.

Warning
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.