diff --git a/net/getting-started/installation.md b/net/getting-started/installation.md index a667d92..8555f2e 100644 --- a/net/getting-started/installation.md +++ b/net/getting-started/installation.md @@ -53,16 +53,23 @@ This topic describes how to add the **GroupDocs.Viewer** library to your .NET pr -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. +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. {{< tabs "package-versions">}} {{< tab "GroupDocs.Viewer for .NET" >}} + | Package version | Target frameworks | | --- | --- | | [24.4.0](https://www.nuget.org/packages/GroupDocs.Viewer/24.4.0) | .NET Frameword 4.6.2, .NET 6.0 | | [24.3.0](https://www.nuget.org/packages/GroupDocs.Viewer/24.3.0) | .NET Frameword 4.6.2, .NET 6.0 | | [24.2.0](https://www.nuget.org/packages/GroupDocs.Viewer/24.2.0) | .NET Frameword 4.6.2, .NET Standard 2.1 | | [24.1.1](https://www.nuget.org/packages/GroupDocs.Viewer/24.1.1) | .NET Frameword 4.6.2, .NET Standard 2.1 | + +
+See previous versions + +| Package version | Target frameworks | +| --- | --- | | [23.12.0](https://www.nuget.org/packages/GroupDocs.Viewer/23.12.0) | .NET Frameword 4.6.2, .NET Standard 2.1 | | [23.11.0](https://www.nuget.org/packages/GroupDocs.Viewer/23.11.0) | .NET Frameword 4.6.2, .NET Standard 2.1 | | [23.10.0](https://www.nuget.org/packages/GroupDocs.Viewer/23.10.0) | .NET Frameword 4.6.2, .NET Standard 2.1 | @@ -133,6 +140,9 @@ You can also use GroupDocs.Viewer with .NET Framework 2.0 (Visual Studio 2005-20 | [17.11.0](https://www.nuget.org/packages/GroupDocs.Viewer/17.11.0) | .NET Framework 2.0 | | [17.10.0](https://www.nuget.org/packages/GroupDocs.Viewer/17.10.0) | .NET Framework 2.0 | | [17.9.0](https://www.nuget.org/packages/GroupDocs.Viewer/17.9.0) | .NET Framework 2.0 | + +
+ {{< /tab >}} {{< tab "GroupDocs.Viewer.CrossPlatform" >}} @@ -145,35 +155,45 @@ You can also use GroupDocs.Viewer with .NET Framework 2.0 (Visual Studio 2005-20 {{< /tab >}} {{< /tabs >}} -{{< alert style="info" >}} +{{< alert style="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 at [Backward compatibility](https://learn.microsoft.com/en-us/dotnet/framework/migration-guide/version-compatibility). +.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](https://learn.microsoft.com/en-us/dotnet/framework/migration-guide/version-compatibility). {{< /alert >}} ## Install GroupDocs.Viewer using NuGet packages -You can use the following tools to install the [GroupDocs.Viewer](https://www.nuget.org/packages/GroupDocs.Viewer) NuGet package: +You can use the following tools to install the **GroupDocs.Viewer** or **GroupDocs.Viewer.CrossPlatform** NuGet packages: - * [NuGet Package Manager](#use-the-nuget-package-manager-in-visual-studio) - * [Package Manager Console](#use-the-package-manager-console-in-visual-studio) + * [NuGet Package Manager](#use-the-nuget-package-manager) + * [Package Manager Console](#use-the-package-manager-console) * [.NET CLI](#use-the-net-cli) ### 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](https://learn.microsoft.com/en-us/nuget/consume-packages/install-use-packages-visual-studio): +{{< alert style="tip" >}} + +Earlier versions of Visual Studio does not include NuGet Package Manager. It can be added as an extension from the [Visual Studio Marketplace](https://marketplace.visualstudio.com/). + +* [NuGet Package Manager for Visual Studio 2015](https://marketplace.visualstudio.com/items?itemName=NuGetTeam.NuGetPackageManagerforVisualStudio2015) +* [NuGet Package Manager for Visual Studio 2013](https://marketplace.visualstudio.com/items?itemName=NuGetTeam.NuGetPackageManagerforVisualStudio2013) +* [NuGet Package Manager for Visual Studio 2010 and 2012](https://marketplace.visualstudio.com/items?itemName=NuGetTeam.NuGetPackageManager) + +{{< /alert >}} + +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. - ![Manage NuGet packages in Visual Studio](/viewer/net/images/getting-started/installation/manage-nuget-packages.png) + ![Add NuGet package in Visual Studio](/viewer/net/images/getting-started/installation/manage-nuget-packages.png) -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**. +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**. - ![](/viewer/net/images/getting-started/installation/install-nuget-package.png) + ![Install GroupDocs.Viewer NuGet package in Visual Studio](/viewer/net/images/getting-started/installation/install-nuget-package.png) ### Use the Package Manager Console -The [Package Manager Console](https://learn.microsoft.com/en-us/nuget/consume-packages/install-use-packages-powershell) 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: +The [Package Manager Console](https://learn.microsoft.com/en-us/nuget/consume-packages/install-use-packages-powershell) 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: {{< tabs "example1">}} {{< tab "GroupDocs.Viewer for .NET" >}} @@ -192,7 +212,7 @@ PM> Install-Package GroupDocs.Viewer.CrossPlatform ### Use the .NET CLI -You can also use the [.NET CLI tool](https://docs.microsoft.com/en-us/dotnet/core/tools/) 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: +You can also use the [.NET CLI tool](https://docs.microsoft.com/en-us/dotnet/core/tools/) to install and update NuGet packages. Open a terminal in your project's folder and execute the following command to install the package: {{< tabs "example2">}} {{< tab "GroupDocs.Viewer for .NET" >}} @@ -213,7 +233,10 @@ Visit [https://releases.groupdocs.com/viewer/net/](https://releases.groupdocs.co 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). +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](/viewer/net/images/getting-started/installation/add-project-reference.png) + 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](/viewer/net/images/getting-started/installation/browse-for-groupdocs-dll.png) diff --git a/net/images/getting-started/installation/add-project-reference.png b/net/images/getting-started/installation/add-project-reference.png new file mode 100644 index 0000000..9f82fed Binary files /dev/null and b/net/images/getting-started/installation/add-project-reference.png differ diff --git a/net/images/getting-started/installation/browse-for-groupdocs-dll.png b/net/images/getting-started/installation/browse-for-groupdocs-dll.png index c1c31d2..b0d5eba 100644 Binary files a/net/images/getting-started/installation/browse-for-groupdocs-dll.png and b/net/images/getting-started/installation/browse-for-groupdocs-dll.png differ diff --git a/net/images/getting-started/installation/install-nuget-package.png b/net/images/getting-started/installation/install-nuget-package.png index c988c1d..ebba7f7 100644 Binary files a/net/images/getting-started/installation/install-nuget-package.png and b/net/images/getting-started/installation/install-nuget-package.png differ diff --git a/net/images/getting-started/installation/manage-nuget-packages.png b/net/images/getting-started/installation/manage-nuget-packages.png index fe06fde..272548b 100644 Binary files a/net/images/getting-started/installation/manage-nuget-packages.png and b/net/images/getting-started/installation/manage-nuget-packages.png differ diff --git a/net/images/getting-started/installation/package-manager-console.png b/net/images/getting-started/installation/package-manager-console.png index d145e2c..73d8d9a 100644 Binary files a/net/images/getting-started/installation/package-manager-console.png and b/net/images/getting-started/installation/package-manager-console.png differ