File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111<Project >
1212 <!-- WinUI 2 / UWP -->
1313 <ItemGroup Condition =" '$(IsUwp)' == 'true'" >
14- <PackageReference Include =" Win2D.uwp" Version =" 1.28.0 " />
14+ <PackageReference Include =" Win2D.uwp" Version =" 1.28.1 " />
1515 </ItemGroup >
1616
1717 <!-- WinUI 2 / Uno -->
2121
2222 <!-- WinUI 3 / WinAppSdk -->
2323 <ItemGroup Condition =" '$(IsWinAppSdk)' == 'true'" >
24- <PackageReference Include =" Microsoft.Graphics.Win2D" Version =" 1.3.0 " />
24+ <PackageReference Include =" Microsoft.Graphics.Win2D" Version =" 1.3.1 " />
2525 </ItemGroup >
2626
2727 <!-- WinUI 3 / Uno -->
Original file line number Diff line number Diff line change 11<!--
2- WinUI 2 under UWP uses TargetFramework uap10.0.*
2+ WinUI 2 under UWP uses TargetFramework uap10.0.* or net8.0-windows10.*
33 WinUI 3 under WinAppSdk uses TargetFramework net6.0-windows10.*
44 However, under Uno-powered platforms, both WinUI 2 and 3 can share the same TargetFramework.
55
1111<Project >
1212 <!-- WinUI 2 / UWP -->
1313 <ItemGroup Condition =" '$(IsUwp)' == 'true'" >
14- <PackageReference Include =" Win2D.uwp" Version =" 1.28.0" />
15- <PackageReference Include =" System.Threading.Tasks.Extensions" Version =" 4.6.0" />
14+ <PackageReference Include =" Win2D.uwp" Version =" 1.28.1" />
15+
16+ <!-- Only include this polyfill package when not targeting .NET 8 or above -->
17+ <PackageReference Condition =" !$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))"
18+ Include =" System.Threading.Tasks.Extensions" Version =" 4.6.0" />
1619 </ItemGroup >
1720
1821 <!-- WinUI 3 / WinAppSdk -->
1922 <ItemGroup Condition =" '$(IsWinAppSdk)' == 'true'" >
20- <PackageReference Include =" Microsoft.Graphics.Win2D" Version =" 1.3.0 " />
23+ <PackageReference Include =" Microsoft.Graphics.Win2D" Version =" 1.3.1 " />
2124 </ItemGroup >
2225</Project >
You can’t perform that action at this time.
0 commit comments