Skip to content

Commit fb7a6ac

Browse files
committed
Fix README inclusion in NuGet package
The RecursiveDataAnnotationsValidation NuGet package was showing a 'missing README' warning on nuget.org. While the project contained a README.md file, it wasn't being properly included in the NuGet package due to incorrect PackagePath configuration. This change updates the project file to explicitly specify the README.md file should be packaged at 'README.md' path, which ensures it appears correctly in NuGet packages and resolves the warning on nuget.org. This follows Microsoft's recommended approach for including README files in .NET NuGet packages, ensuring that users will see proper documentation when browsing the package on nuget.org.
1 parent 5c871a4 commit fb7a6ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RecursiveDataAnnotationsValidation/RecursiveDataAnnotationsValidation.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</ItemGroup>
2727

2828
<ItemGroup>
29-
<None Include="README.md" Pack="true" PackagePath="\" />
29+
<None Include="README.md" Pack="true" PackagePath="README.md" />
3030
</ItemGroup>
3131

3232
</Project>

0 commit comments

Comments
 (0)