ChsBuffer.SkiaSharp.Static 4.157.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package ChsBuffer.SkiaSharp.Static --version 4.157.0.1
                    
NuGet\Install-Package ChsBuffer.SkiaSharp.Static -Version 4.157.0.1
                    
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="ChsBuffer.SkiaSharp.Static" Version="4.157.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ChsBuffer.SkiaSharp.Static" Version="4.157.0.1" />
                    
Directory.Packages.props
<PackageReference Include="ChsBuffer.SkiaSharp.Static" />
                    
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 ChsBuffer.SkiaSharp.Static --version 4.157.0.1
                    
#r "nuget: ChsBuffer.SkiaSharp.Static, 4.157.0.1"
                    
#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 ChsBuffer.SkiaSharp.Static@4.157.0.1
                    
#: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=ChsBuffer.SkiaSharp.Static&version=4.157.0.1
                    
Install as a Cake Addin
#tool nuget:?package=ChsBuffer.SkiaSharp.Static&version=4.157.0.1
                    
Install as a Cake Tool

HostForge static graphics

Reference ChsBuffer.SkiaSharp.Static, ChsBuffer.Angle.Static and ChsBuffer.Avalonia.Native.Static alongside Avalonia. Publish with PublishAot=true and an explicit runtime identifier. The packages support .NET 10 and .NET 11 NativeAOT.

<PropertyGroup>
  <PublishAot>true</PublishAot>
</PropertyGroup>
<ItemGroup>
  <PackageReference Include="Avalonia.Desktop" Version="12.1.6" />
  <PackageReference Include="ChsBuffer.SkiaSharp.Static" Version="3.119.4.1" />
  <PackageReference Include="ChsBuffer.Angle.Static" Version="2.1.27548.1" />
  <PackageReference Include="ChsBuffer.Avalonia.Native.Static" Version="12.1.6.1" />
</ItemGroup>

Run dotnet publish -c Release -r <RID>. Change only the SkiaSharp static package version to 4.157.0 to use SkiaSharp 4.

The SkiaSharp meta package selects compatible managed SkiaSharp and HarfBuzzSharp versions through its RID package dependencies. No additional managed graphics package references are required. Only the matching RID contributes native inputs. ANGLE applies to Windows; Avalonia.Native applies to macOS.

SkiaSharp 3.119.4 and 4.157.0 each include eight RIDs: win-x64, win-arm64, linux-x64, linux-arm64, linux-musl-x64, linux-musl-arm64, osx-x64 and osx-arm64. ANGLE includes both Windows RIDs; Avalonia.Native 12.1.6 includes both macOS RIDs. Meta packages require the exact matching RID package versions.

All packages share the same build integration and error codes:

Code Condition
HFG0001 Conflicting Skia native lines or multiple AvaloniaNative payloads for the selected RID
HFG0002 Managed SkiaSharp major.minor differs from the static native line
HFG0003 Managed HarfBuzzSharp major.minor.patch differs from the static native line
HFG0004 Restored Avalonia/Avalonia.Native does not match the native archive version
HFG0005 The selected native payload is incomplete
HFG1001 An AOT build selects a nonempty RID within a referenced component's platform scope, but no payload matches

Without a RID, outside the component's platform, or without NativeAOT, packages remain inactive and emit no missing-payload warning.

There are no supported framework assets in this 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
4.157.0.3 267 11/22/2026
4.157.0.2 141 11/21/2026
4.157.0.1 91 11/21/2026
4.156.1.1 185 11/16/2026
4.153.1.1 356 10/14/2026
4.153.1 154 10/14/2026
3.119.4.2 89 11/22/2026
3.119.4.1 138 10/14/2026
3.119.4 138 10/14/2026