Ghostscript.NativeAssets 10.8.0-rc.2

This is a prerelease version of Ghostscript.NativeAssets.
dotnet add package Ghostscript.NativeAssets --version 10.8.0-rc.2
                    
NuGet\Install-Package Ghostscript.NativeAssets -Version 10.8.0-rc.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ghostscript.NativeAssets" Version="10.8.0-rc.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ghostscript.NativeAssets" Version="10.8.0-rc.2" />
                    
Directory.Packages.props
<PackageReference Include="Ghostscript.NativeAssets" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Ghostscript.NativeAssets --version 10.8.0-rc.2
                    
#r "nuget: Ghostscript.NativeAssets, 10.8.0-rc.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Ghostscript.NativeAssets@10.8.0-rc.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Ghostscript.NativeAssets&version=10.8.0-rc.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Ghostscript.NativeAssets&version=10.8.0-rc.2&prerelease
                    
Install as a Cake Tool

Ghostscript.NativeAssets

Optional NuGet package that ships Ghostscript and GhostPDL native libraries for use with Ghostscript.NET.

Included assets

This package tracks Ghostscript 10.08.0. NuGet represents the package version as 10.8.0-rc.2 because numeric version components cannot contain leading zeroes.

RID Included files Status
linux-x64 libgs.so, libgpdl.so Included
win-x64 gsdll64.dll, gpdldll64.dll Included
win-x86 gsdll32.dll, gpdldll32.dll Included

gsdll / libgs handle PDF, PostScript, and EPS. gpdldll / libgpdl is GhostPDL and is used for Word, Excel, and PowerPoint. Call GhostscriptOffice.Unlock(key) for a full Office document; without a key, conversion is limited to the first 3 pages.

The ghostscript.version metadata file next to each native library allows GhostscriptVersionInfo to report the bundled Ghostscript product version.

Usage

<PackageReference Include="Ghostscript.NET" Version="1.3.6-rc.4" />
<PackageReference Include="Ghostscript.NativeAssets" Version="10.8.0-rc.2" />

Package versions are managed in the repository Versions.props file. Ghostscript.NET resolves libraries in this order:

  1. Explicit path / GhostscriptVersionInfo supplied by the caller
  2. Bundled NativeAssets (app-local)
  3. System Ghostscript installation
var version = GhostscriptVersionInfo.GetPreferredVersion();
// or
if (GhostscriptVersionInfo.TryGetBundledVersion(out var bundled))
{
    // use bundled
}

GhostscriptOffice.Unlock(customerKey);
GhostscriptOffice.ConvertToPdf(@"D:\report.docx", @"D:\report.pdf");

Licensing

This package distributes Ghostscript and GhostPDL native binaries. Use is subject to the GNU AGPL v3 or a commercial license from Artifex. Full Office conversion requires a Ghostscript.NET.Office license key.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.8.0-rc.2 41 9/11/2026
10.8.0-rc.1 45 9/11/2026
10.7.1 2,500 7/22/2026