Magick.NET icon indicating copy to clipboard operation
Magick.NET copied to clipboard

Run .targets file in transitive build

Open christianbumann opened this issue 1 year ago • 0 comments

Magick.NET version

13.6.0

Environment (Operating system, version and so on)

It doesn't matter

Description

If using Magick transitive, the native files are not copied to the output directory

Example: Magick -> Project A (references Magick) -> Project B (References Project A Nuget - Project B is a separate Repository!) In this case the Magick.NET-Q16-AnyCPU.targets is not running and doesn't copy the native dll to the Project B output directory

transitive build should be added (builtTransitive) https://learn.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files

Steps to Reproduce

Create project dependencies like above

christianbumann avatar Feb 22 '24 14:02 christianbumann