cake
cake copied to clipboard
NuGet Pack Should support new readme file
Reference: https://docs.microsoft.com/en-us/nuget/reference/nuspec#readme
Hi, so any preview or update on this? thanks. Then warning is beginning to show in nuget upload page now.
Hi, so any preview or update on this? thanks. Then warning is beginning to show in nuget upload page now.
If you're using modern csproj format it's already supported.
By adding the file to project to be packed
<ItemGroup>
<None Include="relative/path/from/csproj/NuGet.org.md" Pack="true" PackagePath=""/>
</ItemGroup>
and adding property
<PropertyGroup>
<PackageReadmeFile>NuGet.org.md</PackageReadmeFile>
</PropertyGroup>
If you're talking about NuSpec support described in this issue, there's no one actively working on that, and this issue still up for grabs.