Skip to content

Commit

Permalink
Bump Win2D dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 committed Dec 25, 2024
1 parent 03feb18 commit a77ede5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions components/ImageCropper/src/Dependencies.props
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<Project>
<!-- WinUI 2 / UWP -->
<ItemGroup Condition="'$(IsUwp)' == 'true'">
<PackageReference Include="Win2D.uwp" Version="1.28.0"/>
<PackageReference Include="Win2D.uwp" Version="1.28.1"/>
</ItemGroup>

<!-- WinUI 2 / Uno -->
Expand All @@ -21,7 +21,7 @@

<!-- WinUI 3 / WinAppSdk -->
<ItemGroup Condition="'$(IsWinAppSdk)' == 'true'">
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.3.0"/>
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.3.1"/>
</ItemGroup>

<!-- WinUI 3 / Uno -->
Expand Down
11 changes: 7 additions & 4 deletions components/Media/src/Dependencies.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
WinUI 2 under UWP uses TargetFramework uap10.0.*
WinUI 2 under UWP uses TargetFramework uap10.0.* or net8.0-windows10.*
WinUI 3 under WinAppSdk uses TargetFramework net6.0-windows10.*
However, under Uno-powered platforms, both WinUI 2 and 3 can share the same TargetFramework.
Expand All @@ -11,12 +11,15 @@
<Project>
<!-- WinUI 2 / UWP -->
<ItemGroup Condition="'$(IsUwp)' == 'true'">
<PackageReference Include="Win2D.uwp" Version="1.28.0" />
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.6.0" />
<PackageReference Include="Win2D.uwp" Version="1.28.1" />

<!-- Only include this polyfill package when not targeting .NET 8 or above -->
<PackageReference Condition="!$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))"
Include="System.Threading.Tasks.Extensions" Version="4.6.0" />
</ItemGroup>

<!-- WinUI 3 / WinAppSdk -->
<ItemGroup Condition="'$(IsWinAppSdk)' == 'true'">
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.3.0" />
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.3.1" />
</ItemGroup>
</Project>

0 comments on commit a77ede5

Please sign in to comment.