Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Win2D dependencies #594

Merged
merged 1 commit into from
Dec 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'))"
Sergio0694 marked this conversation as resolved.
Show resolved Hide resolved
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>
Loading