DinkToPdf.MacArmFixQt6 1.0.0

dotnet add package DinkToPdf.MacArmFixQt6 --version 1.0.0
                    
NuGet\Install-Package DinkToPdf.MacArmFixQt6 -Version 1.0.0
                    
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="DinkToPdf.MacArmFixQt6" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DinkToPdf.MacArmFixQt6" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="DinkToPdf.MacArmFixQt6" />
                    
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 DinkToPdf.MacArmFixQt6 --version 1.0.0
                    
#r "nuget: DinkToPdf.MacArmFixQt6, 1.0.0"
                    
#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 DinkToPdf.MacArmFixQt6@1.0.0
                    
#: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=DinkToPdf.MacArmFixQt6&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=DinkToPdf.MacArmFixQt6&version=1.0.0
                    
Install as a Cake Tool

DinkToPdf.MacArmFixQt6

NuGet package for DinkToPdf compatibility on macOS ARM64 (Apple Silicon), using the Qt6 build of libwkhtmltox-next.

What this package does

  • adds libwkhtmltox-next.dylib to runtimes/osx-arm64/native,
  • adds libwkhtmltox.dylib (a binary alias to the same file) to runtimes/osx-arm64/native,
  • allows DinkToPdf-based apps to load the native library on ARM64 Macs without relying on a missing external libwkhtmltox.dylib.

Dependencies

  • DinkToPdf (1.0.8)
  • macOS ARM64 (Apple Silicon)
  • .NET 6+ (package targets: net6.0, net8.0)

Installation

dotnet add package DinkToPdf.MacArmFixQt6

Usage

In projects that already use DinkToPdf, this usually requires no code changes.

When you add this package, native assets for osx-arm64 are resolved during build/publish, and native calls to libwkhtmltox can find the libwkhtmltox.dylib provided by this package.

A buildTransitive target is also included to automatically copy the dylibs to the output/publish folder when the project targets osx-arm64.

Example publish command for Apple Silicon:

dotnet publish -c Release -r osx-arm64

Target scenario

This package exists for the common case where DinkToPdf tries to load libwkhtmltox on macOS ARM64 and the library is not available on the system.

With this package:

  • the correct native library is distributed with the application,
  • the legacy expected name (libwkhtmltox.dylib) is also provided,
  • runtime DllNotFoundException failures on Apple Silicon are reduced.

Notes

  • This package does not replace the DinkToPdf package; it complements it for the macOS ARM64 scenario.
  • In CI/CD, make sure publish for macOS uses RID osx-arm64.
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.0.0 109 4/30/2026