How to install Document .Net from NuGet

You can easily use «Document .Net» in .Net Core 2.0, 2.1 or higher. It's completely written in C# managed code and compiled under .Net Framework and .Net Core.

Let us say, you have just created a .Net Core project. To configure Document .Net in your project, make these steps:

Add dependencies through Nuget (optional):

If you have added the SautinSoft.Document.dll into your project in previous step 1 through Nuget, all dependencies are already installed automatically and therefore simply skip this step.

In case of you have added the reference to the SautinSoft.Document.dll by the old way (Solution Explorer->right click by "References"->Add Reference...), please add these dependencies using Nuget:

  • System.Drawing.Common, 4.6.0 or up.
  • System.IO.Packaging, 4.4.0 or up.
  • System.Text.Encoding.CodePages, 4.0.1 or up.
  • System.Xml.XPath.XmlDocument, 4.3.0 or up.

For example, to add "System.IO.Packaging, 4.4.0:

(Solution Explorer->right click by "References"->Manage Nuget Packages...->In the tab "Browse" type "System.IO.Packaging" and find the "System.IO.Packaging", select version "4.4.0") How to install SautinSoft.Document from Nuget (PDF).

Well done!