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.
Select GroupDocs.Viewer package and version
Starting with version 26.8, GroupDocs.Viewer is a NuGet metapackage that uses TFM-split packaging. You install one package name; NuGet restores the runtime package that matches your project’s target framework. Version 26.10 adds runtime packages for .NET 8 and .NET 10:
Do not reference the runtime packages directly. Add GroupDocs.Viewer to your project, and NuGet selects the correct runtime.
Versions 26.8 and 26.9 have no .NET 8 or .NET 10 runtime packages: a project that targets .NET 8 or later restores GroupDocs.Viewer.Net60 or GroupDocs.Viewer.Net60.Windows. When you update such a project to 26.10 or later, NuGet restores the .NET 8 or .NET 10 runtime package instead. No code changes are required.
Note
Photoshop and Illustrator files (PSD, PSB, AI) and OneNote files (ONE) render only with GroupDocs.Viewer.Net462 and the .Windows runtime packages. To view these formats, target .NET Framework or a -windows target framework, such as net10.0-windows.
Note
If you previously used GroupDocs.Viewer.CrossPlatform, replace that package reference with GroupDocs.Viewer. The assembly name, namespaces, and public API are unchanged, so no code changes are required. As of 26.8 the CrossPlatform package is deprecated and only forwards to GroupDocs.Viewer.
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.
.NET Framework provides a high degree of backward compatibility. Applications targeting an earlier supported version of .NET Framework can generally run on later versions. See the Microsoft documentation for details.
Install GroupDocs.Viewer using NuGet packages
You can use the following tools to install the GroupDocs.Viewer NuGet packages:
Some earlier versions of Visual Studio do not include NuGet Package Manager by default. 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 package using the NuGet Package Manager:
In Solution Explorer, right-click your project name and select Manage NuGet Packages to display the NuGet Package Manager.
Select the Browse tab and type GroupDocs.Viewer in the search box. Select the latest version of the 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 following command to install the latest version of the package:
PM> Install-Package GroupDocs.Viewer
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
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. Both contain the same assemblies as the NuGet runtime packages, one set for each target framework in the table above; the ZIP archive arranges them by target framework in the lib folder. To reference the downloaded assembly files in your project, do the following:
Extract files from the ZIP archive or run the MSI installer to install GroupDocs.Viewer to a specific location on your computer.
Open your solution or project in Visual Studio.
In Solution Explorer, right-click the References or Dependencies node, and select Add Reference.
In the Reference Manager dialog box, select the Browse tab and click Browse to locate the GroupDocs.Viewer.dll file for the target framework.
Click OK to add a reference to the GroupDocs.Viewer library to your project.
Warning
If you reference GroupDocs.Viewer from a ZIP or MSI download instead of NuGet, add the package dependencies that your target framework requires. The readme.txt file bundled with the download lists the dependencies of each target framework; in the ZIP archive, it also lists the assembly binding redirects that .NET Framework projects must add to app.config or web.config. The same dependencies are listed on the NuGet page of the matching runtime package, for example GroupDocs.Viewer.Net100.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.
On this page
Ask AI
Ask anything about this page — the answer is based on its content.
Searching the docs and writing an answer…
Something went wrong while getting an answer. Please try again in a moment.