|
10 | 10 | </PropertyGroup> |
11 | 11 |
|
12 | 12 | <!-- All Uno-based project heads and MultiTarget-enabled library projects need to reference this file, while native (UWP/WinAppSdk) heads don't. --> |
13 | | - <!-- WinUI 3 (Uno.WinUI 6.x) --> |
14 | 13 | <ItemGroup Condition="'$(IsUno)' == 'true' AND '$(WinUIMajorVersion)' != '2'"> |
15 | 14 | <PackageReference Include="Uno.WinUI" Version="$(CommonUnoPackageVersion)" /> |
16 | | - <PackageReference Include="Uno.Fonts.Fluent" Version="2.6.1" /> |
17 | 15 | </ItemGroup> |
18 | 16 |
|
19 | | - <!-- WinUI 2 (Uno.UI 5.x) --> |
20 | 17 | <ItemGroup Condition="'$(IsUno)' == 'true' AND '$(WinUIMajorVersion)' == '2'"> |
21 | 18 | <PackageReference Include="Uno.UI" Version="$(CommonUnoPackageVersion)" /> |
22 | | - <PackageReference Include="Uno.Fonts.Fluent" Version="2.4.5" /> |
| 19 | + </ItemGroup> |
| 20 | + |
| 21 | + <ItemGroup Condition="'$(IsUno)' == 'true'"> |
| 22 | + <PackageReference Include="Uno.Fonts.Fluent" Version="2.6.1" /> |
23 | 23 | </ItemGroup> |
24 | 24 |
|
25 | 25 | <PropertyGroup Condition="'$(IsUno)' == 'true'"> |
|
36 | 36 | <PackageReference Include="Uno.WinUI.DevServer" Version="$(CommonUnoPackageVersion)" Condition="'$(Configuration)'=='Debug'" /> |
37 | 37 | </ItemGroup> |
38 | 38 |
|
39 | | - <!-- WinUI 2: Skia desktop heads --> |
40 | | - <ItemGroup Condition="'$(IsGtkHead)' == 'true'"> |
41 | | - <PackageReference Include="Uno.UI.Skia.Gtk" Version="$(CommonUnoPackageVersion)" Condition="'$(WinUIMajorVersion)' == '2'" /> |
42 | | - <PackageReference Include="Uno.WinUI.Skia.Gtk" Version="$(CommonUnoPackageVersion)" Condition="'$(WinUIMajorVersion)' != '2'" /> |
| 39 | + <!-- Skia desktop heads (WinUI 2 only — Uno 6 dropped WPF/GTK) --> |
| 40 | + <ItemGroup Condition="'$(IsGtkHead)' == 'true' AND '$(WinUIMajorVersion)' == '2'"> |
| 41 | + <PackageReference Include="Uno.UI.Skia.Gtk" Version="$(CommonUnoPackageVersion)" /> |
43 | 42 | </ItemGroup> |
44 | 43 |
|
45 | | - <ItemGroup Condition="'$(IsWpfHead)' == 'true'"> |
46 | | - <PackageReference Include="Uno.UI.Skia.Wpf" Version="$(CommonUnoPackageVersion)" Condition="'$(WinUIMajorVersion)' == '2'" /> |
47 | | - <PackageReference Include="Uno.WinUI.Skia.Wpf" Version="$(CommonUnoPackageVersion)" Condition="'$(WinUIMajorVersion)' != '2'" /> |
| 44 | + <ItemGroup Condition="'$(IsWpfHead)' == 'true' AND '$(WinUIMajorVersion)' == '2'"> |
| 45 | + <PackageReference Include="Uno.UI.Skia.Wpf" Version="$(CommonUnoPackageVersion)" /> |
48 | 46 | </ItemGroup> |
49 | 47 |
|
50 | 48 | <PropertyGroup Condition="'$(IsWpfHead)' == 'true'"> |
|
0 commit comments