Installation

Install from Nuget

NuGet is the easiest way to download and install GroupDocs.Parser for .NET. There are ways to install it in your project.

Install via Package Manager GUI

Follow these steps to reference GroupDocs.Parser using Package Manager GUI:

  • Open your solution/project in Visual Studio.
  • Click Tools -> NuGet Package Manager -> Manage NuGet Packages for Solution.
    You can also access the same option through the Solution Explorer. Right-click the solution or project and select Manage NuGet Packages from the context menu
  • Select Browse tab and type “GroupDocs.Parser” in the search text box.
  • Click the Install button to install the latest version of the API into your project as shown in the following screenshot.

Using Package Manager Console

You can follow the steps below to reference GroupDocs.Parser for .NET using the Package Manager Console:

  • Open your solution/project in Visual Studio.
  • Select Tools -> NuGet Package Manager -> Package Manager Console from the menu to open package manager console.
  • Type the command “Install-Package GroupDocs.Parser” and press enter to install the latest release into your application.
  • After successful installation, GroupDocs.Parser will be referenced in your application.

Starting with 24.2 version, GroupDocs.Parser is divided into two packages - for .NET Framework and .NET Standard. GroupDocs.Parser for .NET Framework package is recommended for using with .NET Framework projects. GroupDocs.Parser package is designed to work with .NET projects. You need to configure binding redirection to make it work with .NET Framework. For regular .NET Framework project it’s required to enable automatic binding redirection. For unit tests projects you also need to specify GenerateBindingRedirectsOutputType in the project file:

<PropertyGroup>
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
    <GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
</PropertyGroup>

Install from official GroupDocs website

You can follow the steps below to reference GroupDocs.Parser for .NET downloaded from official website Downloads section:

  • Unpack zip archive or follow MSI install wizard instructions.
  • In the Solution Explorer, expand the project node you want to add a reference to.
  • Right-click the References node for the project and select Add Reference from the menu.
  • In the Add Reference dialog box, select the .NET tab (it’s usually selected by default).
  • If you have used MSI installer to install GroupDocs.Parser, you will see GroupDocs.Parser in the top pane. Select it and then click the Select button.
  • If you have downloaded and unpacked the DLL only, click the Browse button and locate the GroupDocs.Parser.dll file.
  • You have referenced GroupDocs.Parser and it should appear in the SelectedComponents pane of the dialog box.
  • Click OK.

GroupDocs.Parser reference appears under the References node of the project.

Note that .NET Standard 2.0 version has external references:

PackageVersion
System.Drawing.Common4.7.0
System.Text.Encoding.CodePages4.7.0
System.Reflection.Emit4.7.0
System.Reflection.Emit.ILGeneration4.7.0
System.Diagnostics.PerformanceCounter4.5.0
System.Security.Cryptography.Pkcs4.7.0
System.Security.Permissions4.5.0
Microsoft.Win32.Registry4.7.0
Microsoft.Extensions.DependencyModel2.0.4
SkiaSharp2.80.1

Linux environment

For correct working of GroupDocs.Parser.Net on Linux the following packages need to be installed:

  • libgdiplus package
  • libc6-dev package
  • package with Microsoft compatible fonts: ttf-mscorefonts-installer. (e.g. sudo apt-get install ttf-mscorefonts-installer)

Also GroupDocs.Parser.Net in Linux environment has external reference:

PackageVersion
SkiaSharp.NativeAssets.Linux.NoDependencies2.80.2