ChsBuffer.SkiaSharp.Static.linux-x64
4.157.0.1
See the version list below for details.
dotnet add package ChsBuffer.SkiaSharp.Static.linux-x64 --version 4.157.0.1
NuGet\Install-Package ChsBuffer.SkiaSharp.Static.linux-x64 -Version 4.157.0.1
<PackageReference Include="ChsBuffer.SkiaSharp.Static.linux-x64" Version="4.157.0.1" />
<PackageVersion Include="ChsBuffer.SkiaSharp.Static.linux-x64" Version="4.157.0.1" />
<PackageReference Include="ChsBuffer.SkiaSharp.Static.linux-x64" />
paket add ChsBuffer.SkiaSharp.Static.linux-x64 --version 4.157.0.1
#r "nuget: ChsBuffer.SkiaSharp.Static.linux-x64, 4.157.0.1"
#:package ChsBuffer.SkiaSharp.Static.linux-x64@4.157.0.1
#addin nuget:?package=ChsBuffer.SkiaSharp.Static.linux-x64&version=4.157.0.1
#tool nuget:?package=ChsBuffer.SkiaSharp.Static.linux-x64&version=4.157.0.1
ChsBuffer.SkiaSharp.Static
Static SkiaSharp and HarfBuzzSharp libraries for NativeAOT. Reference the meta package alongside Avalonia; managed graphics dependencies are selected automatically:
<PropertyGroup>
<PublishAot>true</PublishAot>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Avalonia.Desktop" Version="12.1.6" />
<PackageReference Include="ChsBuffer.SkiaSharp.Static" Version="3.119.4.1" />
</ItemGroup>
Publish with an explicit RID, for example dotnet publish -c Release -r linux-x64.
Use version 4.157.0 for SkiaSharp 4. A single architecture can instead reference
ChsBuffer.SkiaSharp.Static.<RID>.
Both versions support win-x64, win-arm64, linux-x64, linux-arm64,
linux-musl-x64, linux-musl-arm64, osx-x64 and osx-arm64.
| Static package | Minimum managed SkiaSharp | Minimum managed HarfBuzzSharp |
|---|---|---|
| 3.119.4 | 3.119.4 | 8.3.1.5 |
| 4.157.0 | 4.157.0 | 14.4.0.200 |
Only NativeAOT with a matching RID activates the integration. The targets add
NativeLibrary, DirectPInvoke and system link inputs, and remove corresponding
dynamic graphics libraries before publishing. Linux archives are grouped to resolve
mutual dependencies. Payloads, source manifests, GN arguments and licenses are under
build/native/<rid>/.
Conflicting native lines fail with HFG0001; incompatible managed SkiaSharp
major.minor or HarfBuzzSharp major.minor.patch fail with HFG0002 or HFG0003.
An incomplete selected payload fails with HFG0005. HFG1001 warns when an AOT
build selects a nonempty Windows, Linux or macOS RID without a matching payload.
Builds without a RID or without NativeAOT remain inactive and silent.
Linux requires system fontconfig and libstdc++. SkiaSharp 4 also bundles static libc++ with its LLVM license. The native archives use Ubuntu 18.04 (GLIBC 2.27) or Alpine 3.17 sysroots. Publish with the matching sysroot to preserve that ABI baseline; publishing on a newer system can raise the final executable's requirements. Avalonia 12 on Linux should request Vulkan API 1.3 when using SkiaSharp 4.
macOS links system libc++, AppKit and the required Apple graphics frameworks. Metal and OpenGL are enabled. SkiaSharp 3.119.4 archives target macOS 10.13 on x64 and 11.0 on arm64; SkiaSharp 4.157.0 archives target macOS 12.0, as upstream does. The final application must also satisfy .NET and Avalonia's OS requirements. ANGLE on Windows and AvaloniaNative on macOS are separate packages.
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- HarfBuzzSharp (>= 14.4.0.200)
- SkiaSharp (>= 4.157.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on ChsBuffer.SkiaSharp.Static.linux-x64:
| Package | Downloads |
|---|---|
|
ChsBuffer.SkiaSharp.Static
Static SkiaSharp libraries for NativeAOT on all supported RIDs. |
GitHub repositories
This package is not used by any popular GitHub repositories.