DinkToPdf.MacArmFixQt6
1.0.0
dotnet add package DinkToPdf.MacArmFixQt6 --version 1.0.0
NuGet\Install-Package DinkToPdf.MacArmFixQt6 -Version 1.0.0
<PackageReference Include="DinkToPdf.MacArmFixQt6" Version="1.0.0" />
<PackageVersion Include="DinkToPdf.MacArmFixQt6" Version="1.0.0" />
<PackageReference Include="DinkToPdf.MacArmFixQt6" />
paket add DinkToPdf.MacArmFixQt6 --version 1.0.0
#r "nuget: DinkToPdf.MacArmFixQt6, 1.0.0"
#:package DinkToPdf.MacArmFixQt6@1.0.0
#addin nuget:?package=DinkToPdf.MacArmFixQt6&version=1.0.0
#tool nuget:?package=DinkToPdf.MacArmFixQt6&version=1.0.0
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.dylibtoruntimes/osx-arm64/native, - adds
libwkhtmltox.dylib(a binary alias to the same file) toruntimes/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
DllNotFoundExceptionfailures on Apple Silicon are reduced.
Notes
- This package does not replace the
DinkToPdfpackage; it complements it for the macOS ARM64 scenario. - In CI/CD, make sure publish for macOS uses RID
osx-arm64.
| Product | Versions 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. |
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 |