Skip to content

Conversation

@kzu
Copy link
Member

@kzu kzu commented Mar 20, 2023

This stops inference from collecting transitive dependency files from NuGetizer and packing them too alongisde the consuming project.

This is currently an issue since due to being a development dependency, NuGetizer will by default install with a PrivateAssets=all value, which for packing purposes means "pack everything this dependency brings, transitively, into this package output", since that's the most common scenario.

But for build-only packages like NuGetizer, it doesn't make sense. Especially for non-build transitive assets such as analyzer's localization files (i.e. SponsorLink in NuGetizer's case).

So we default this to the most obvious value now.

This stops inference from collecting transitive dependency files from NuGetizer and packing them too alongisde the consuming project.

This is currently an issue since due to being a development dependency, NuGetizer will by default install with a `PrivateAssets=all` value, which for packing purposes means "pack everything this dependency brings, transitively, into this package output", since that's the most common scenario.

But for build-only packages like NuGetizer, it doesn't make sense. Especially for non-build transitive assets such as analyzer's localization files (i.e. SponsorLink in NuGetizer's case).

So we default this to the most obvious value now.
@kzu kzu added the enhancement New feature or request label Mar 20, 2023
@kzu kzu enabled auto-merge (rebase) March 20, 2023 19:03
@kzu kzu merged commit ec664c9 into main Mar 20, 2023
@kzu kzu deleted the dev/NonTransitive branch March 20, 2023 19:17
@devlooped devlooped locked and limited conversation to collaborators Nov 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants