-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow rendering contributed contents from nugetize
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.
- Loading branch information
Showing
2 changed files
with
116 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters