Problem with Microsoft.SourceLink.GitHub dependency #633

Open
opened 2026-01-29 22:15:01 +00:00 by claunia · 0 comments
Owner

Originally created by @bdovaz on GitHub (Apr 26, 2024).

It must be added as PrivateAssets=“All”. I use the Avalonia repository as an example:

76a1c70758/build/SourceLink.props (L18)

As it stands since version 0.37.0 it has a dependency that propagates to consumers of the package when it should not:

https://www.nuget.org/packages/SharpCompress/0.37.0#dependencies-body-tab

Originally created by @bdovaz on GitHub (Apr 26, 2024). It must be added as `PrivateAssets=“All”`. I use the Avalonia repository as an example: https://github.com/AvaloniaUI/Avalonia/blob/76a1c70758884abcebc9e3665aa08290a841efa4/build/SourceLink.props#L18 As it stands since version 0.37.0 it has a dependency that propagates to consumers of the package when it should not: https://www.nuget.org/packages/SharpCompress/0.37.0#dependencies-body-tab
claunia added the bug label 2026-01-29 22:15:01 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#633