Skip to content

Added 'ReadMe' property to NuGetPackSettings.#4724

Merged
devlead merged 4 commits into
cake-build:developfrom
squid-box:feature/nuget-readme
Feb 20, 2026
Merged

Added 'ReadMe' property to NuGetPackSettings.#4724
devlead merged 4 commits into
cake-build:developfrom
squid-box:feature/nuget-readme

Conversation

@squid-box

@squid-box squid-box commented Feb 19, 2026

Copy link
Copy Markdown
Contributor

This PR fixes #3517 which has been lingering for some years.

I considered doing extra validation on the Cake side, to ensure that the specified file exists in the Files property, but as this is validated by the NuGet pack command (Error NU5039: The readme file '404.md' does not exist in the package.) I figured it best to keep this change simple.

Comment thread src/Cake.Common/Tools/NuGet/Pack/NuGetPackSettings.cs Outdated
Comment thread src/Cake.Common/Tools/NuGet/Pack/NuspecTransformer.cs Outdated
squid-box and others added 3 commits February 20, 2026 12:41
@squid-box
squid-box requested a review from devlead February 20, 2026 14:03

@devlead devlead left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGMT 👍

@devlead
devlead merged commit 005b81e into cake-build:develop Feb 20, 2026
17 checks passed
@devlead

devlead commented Feb 20, 2026

Copy link
Copy Markdown
Member

@squid-box your changes have been merged, thanks for your contribution 👍

@squid-box
squid-box deleted the feature/nuget-readme branch February 20, 2026 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NuGet Pack Should support new readme file

2 participants