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

Add the .targets file to buildTransitive #1057

Merged
merged 1 commit into from
Dec 13, 2019
Merged

Conversation

mattleibow
Copy link
Contributor

Description of Change

Add the .targets file to the buildTransitive folder in the NuGet package. This only applies to net45 and Full Framework apps. This makes sure that the .targets file is always referenced and the native files are always copied as part of the build.

The main issue this solves is for transitive dependencies with App -> Core -> ThirdParty -> SkiaSharp. In this scenario, the native libraries will only be copied as part of build for ThirdParty - which is not even part of the project. As a result, the app will never get the binaries. After this PR, each level will get the binaries, including the App and Core.

Bugs Fixed

API Changes

None.

Behavioral Changes

The libSkiaSharp.* binaries will always be copied to the output folder for all projects in the build.

PR Checklist

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

@mattleibow mattleibow added type/enhancement area/SkiaSharp Issues that relate to the C# binding of SkiaSharp. area/HarfBuzzSharp Issues that relate to the C# binding of HarfBuzzSharp. area/Build labels Dec 10, 2019
@mattleibow mattleibow merged commit a030eb2 into master Dec 13, 2019
@mattleibow mattleibow deleted the dev/buildTransitive branch December 13, 2019 00:45
@mattleibow mattleibow added this to the v1.68.1.1 milestone Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/Build area/HarfBuzzSharp Issues that relate to the C# binding of HarfBuzzSharp. area/SkiaSharp Issues that relate to the C# binding of SkiaSharp. type/enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Use the buildTransitive folder
1 participant