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

Updated reference for SkiaSharp.Views.WPF causing NU1701 warnings when consuming LottieSharp 2.4.2 #73

Open
wmsptfr opened this issue Feb 5, 2025 · 0 comments

Comments

@wmsptfr
Copy link

wmsptfr commented Feb 5, 2025

Describe the bug
Upgraded from LottieSharp 2.4.0 to 2.4.2 for the most recent fix and encountered multiple NU1701 warnings.

The dependency for SkiaSharp.Views.WPF was updated from 2.88.8 to 3.116.1 for the 2.4.2 release. The new version of SkiaSharp.Views.WPF targets windows10.0.19041 which seems to be the cause NU1701 errors for my net8.0-windows project.

To Reproduce
Steps to reproduce the behavior:

  1. Upgraded to LottieSharp 2.4.2 from 2.4.0 in a net8.0-windows project
  2. Attempt build of project
  3. See compilation warnings

Downgrading to 2.4.0 results in no NU1701 warnings.

Expected behavior
New LottieSharp package version and its dependencies are compatible with net8.0-windows project.

Screenshots
Image

Additional context
I'm assuming the problem comes from SkiaSharp explicitly defining the windows platform version which then enforces that to be defined on the consumer side for compatibility. That's why it's looking for a net8.0-windows7.0 folder in the package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant