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

Fix regression that breaks projects using .NET Framework/Mono and packages.config #3112

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sungaila
Copy link
Contributor

@sungaila sungaila commented Dec 10, 2024

Description of Change

Starting with SkiaSharp 3.x only the buildTransitive directory is created for the NativeAssets NuGet packages. This breaks older .NET Framework projects that use packages.config instead of the newer PackageReference.

To retain backwards compatibility this PR copies the net462\SkiaSharp.NativeAssets.*.targets file into both build and buildTransitive (as it was for before in SkiaSharp 2.x).

Bugs Fixed

API Changes

None.

Behavioral Changes

None.

Required skia PR

None.

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of main at time of PR
  • Merged related skia PRs
  • Changes adhere to coding standard
  • Updated documentation

Copy link

@cardinalip-williamkeller cardinalip-williamkeller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@sungaila
Copy link
Contributor Author

@mattleibow Could you please take a look?

We are stuck with SkiaSharp 2.x until this NuGet issue is resolved.

@mattleibow
Copy link
Contributor

/rebase

@github-actions github-actions bot force-pushed the packages-config-fix branch from 87cd21c to b5523de Compare February 21, 2025 14:36
@mattleibow
Copy link
Contributor

/azp run

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
3 participants