Skip to content

Commit

Permalink
Shortened table with versions; Added info about NuGet Package Manager…
Browse files Browse the repository at this point in the history
…; Updated screenshots
  • Loading branch information
vladimir-litvinchik committed May 8, 2024
1 parent 14c3801 commit 3c3319b
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 13 deletions.
49 changes: 36 additions & 13 deletions net/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,23 @@ This topic describes how to add the **GroupDocs.Viewer** library to your .NET pr
</div>
</div>

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 |

<details>
<summary>See previous versions</summary>

| 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 |
Expand Down Expand Up @@ -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 |

</details>

{{< /tab >}}
{{< tab "GroupDocs.Viewer.CrossPlatform" >}}

Expand All @@ -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" >}}
Expand All @@ -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" >}}
Expand All @@ -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)
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3c3319b

Please sign in to comment.