Skip to content

Conversation

@kzu
Copy link
Member

@kzu kzu commented Feb 10, 2023

We were previously using a combination of @(ReferencePath) and @(_ReferenceRelatedPaths) to determine the candidate libs to pack as private, but this was incorrect since we would still sometimes pack ref assemblies.

Turns out that this is an issue that surfaced elsewhere (see NuGet/Home#9310 (comment)) which resulted in a new output group being available from the common MSBuild targets (see dotnet/msbuild#3069) that we can use instead to do this properly.

Closes #263

@kzu kzu added the enhancement New feature or request label Feb 10, 2023
@kzu kzu enabled auto-merge (rebase) February 10, 2023 13:15
We were previously using a combination of @(ReferencePath) and @(_ReferenceRelatedPaths) to determine the candidate libs to pack as private, but this was incorrect since we would still sometimes pack ref assemblies.

Turns out that this is an issue that surfaced elsewhere (see NuGet/Home#9310 (comment)) which resulted in a new output group being available from the common MSBuild targets (see dotnet/msbuild#3069) that we can use instead to do this properly.

Closes #263
@kzu kzu merged commit 7acc406 into main Feb 10, 2023
@kzu kzu deleted the dev/lib-assets branch February 10, 2023 21:22
@devlooped devlooped locked and limited conversation to collaborators Nov 24, 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.

NuGetizer v0.9.1 packing reference assembly instead of real assembly

2 participants