Document Avalonia 11 package variant

This commit is contained in:
geruipu committed 2026-07-02 14:51:52 +08:00
1 parent 5f21d670b0
commit 06f3b17b8f
1 file changed
+9 -1
+9 -1
View File
@@ -11,9 +11,17 @@ dotnet add package StaticLink.Avalonia
Or add it manually: Or add it manually:
```xml ```xml
<PackageReference Include="StaticLink.Avalonia" Version="3.119.2-7151.10" /> <PackageReference Include="StaticLink.Avalonia" Version="3.119.2-7151.11" />
``` ```
`3.119.2-7151.11` supports Avalonia 11. If you need the SkiaSharp 2 line for an Avalonia 11 project, use this optional package variant:
```xml
<PackageReference Include="StaticLink.Avalonia" Version="2.88.9-7151.10" />
```
`2.88.9-7151.10` is only for Avalonia 11 projects that specifically want SkiaSharp 2.
For macOS, also reference `StaticLink.Avalonia.Native`. This package is macOS-only and must match your Avalonia version because it contains `libAvaloniaNative.a`. For macOS, also reference `StaticLink.Avalonia.Native`. This package is macOS-only and must match your Avalonia version because it contains `libAvaloniaNative.a`.
```xml ```xml