Upgrade Avalonia packages and fixed some of issues with this upgrade.

This commit is contained in:
Creeper Lv
2026-05-23 00:00:36 +10:00
parent d7f2391fe8
commit 684dd1bb50
10 changed files with 85 additions and 58 deletions
+4 -3
View File
@@ -21,9 +21,10 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Avalonia.Desktop"/><!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
<PackageReference Include="Avalonia.Diagnostics">
<IncludeAssets Condition="&apos;$(Configuration)&apos; != &apos;Debug&apos;">None</IncludeAssets>
<PrivateAssets Condition="&apos;$(Configuration)&apos; != &apos;Debug&apos;">All</PrivateAssets>
<PackageReference Include="AvaloniaUI.DiagnosticsSupport" >
<IncludeAssets Condition="'$(Configuration)' != 'Debug'">None</IncludeAssets>
<PrivateAssets Condition="'$(Configuration)' != 'Debug'">All</PrivateAssets>
</PackageReference>
<PackageReference Include="SkiaSharp.NativeAssets.Linux"/>
</ItemGroup>