Functionality:PackIcebox cleanup candidatePriority:3Status:InactiveType:DCRhelp wanted
仓库指标
- 星标
- (1,459 个星标)
- PR 合并指标
- (平均合并 464天 23小时) (30 天内合并 1 个 PR)
描述
See the documentation on adding package readme support, it states you need to add:
<PropertyGroup>
...
<PackageReadmeFile>readme.md</PackageReadmeFile>
...
</PropertyGroup>
<ItemGroup>
...
<None Include="docs\readme.md" Pack="true" PackagePath="\"/>
...
</ItemGroup>
Now, the PackagePath metadata is a packing-specific metadata item that is not used anywhere else (AFAIK). It seems quite obvious that if I specify a PackagePath metadata, it's because I want the item packed. Specifying also Pack=true seems entirely unnecessary and redundant.
So, the proposal is:
Whenever
PackagePathis specified in any item (of the supported candidates), asumePack=truefor the item.
(this is what nugetizer does too, btw, it's more natural and less surprises).