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

Minor improvements to dotnet-nugetize #23

Merged
merged 2 commits into from
Oct 25, 2020
Merged

Minor improvements to dotnet-nugetize #23

merged 2 commits into from
Oct 25, 2020

Conversation

kzu
Copy link
Member

@kzu kzu commented Oct 25, 2020

No description provided.

If the project was not packable, we were not rendering anything, which wasn't
very useful when tweaking a project that contributes to a parent package.

This adds that capability by explicitly re-running the GetPackageContents target
with additional indication that we're collecting contents, so that the package path
assignment happens forcedly. Note that this does not account for the potential
retargeting of contents if the referencing project happens to redefine the TF
(i.e. contributing a NS2 library, but referencing project is net472+net5.0, the
lib will actually contribute to both TFMs).

Also make it possible to select a specific project if the directory contains
more than one, by smartly parsing the extra arguments.
This was causing buildTransitive/* to be grouped under build/*
@kzu kzu merged commit 381be5d into main Oct 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant