cake icon indicating copy to clipboard operation
cake copied to clipboard

NuGet Pack Should support new readme file

Open devlead opened this issue 2 years ago • 2 comments

Reference: https://docs.microsoft.com/en-us/nuget/reference/nuspec#readme

devlead avatar Oct 05 '21 19:10 devlead

Hi, so any preview or update on this? thanks. Then warning is beginning to show in nuget upload page now. image

jingliancui avatar Nov 26 '22 06:11 jingliancui

Hi, so any preview or update on this? thanks. Then warning is beginning to show in nuget upload page now. image

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.

devlead avatar Nov 26 '22 12:11 devlead