Skip to content

Improve NuGet package metadata, README and Source Link#17

Merged
kevbite merged 2 commits into
masterfrom
feature/nuget-metadata
May 30, 2026
Merged

Improve NuGet package metadata, README and Source Link#17
kevbite merged 2 commits into
masterfrom
feature/nuget-metadata

Conversation

@kevbite
Copy link
Copy Markdown
Owner

@kevbite kevbite commented May 30, 2026

Add RepositoryUrl/RepositoryType/PackageProjectUrl, pack the root README via PackageReadmeFile, and reference Microsoft.SourceLink.GitHub for the WLED and WLED.DependencyInjection packages so nuget.org links back to the repo, renders the README, and ships working Source Link.

Adds plans/15-nuget-package-metadata.md and updates the roadmap and changelog.

Add RepositoryUrl/RepositoryType/PackageProjectUrl, pack the root README
via PackageReadmeFile, and reference Microsoft.SourceLink.GitHub for the
WLED and WLED.DependencyInjection packages so nuget.org links back to the
repo, renders the README, and ships working Source Link.

Adds plans/15-nuget-package-metadata.md and updates the roadmap and changelog.
@kevbite kevbite self-assigned this May 30, 2026
Copilot AI review requested due to automatic review settings May 30, 2026 17:32
@kevbite kevbite added the enhancement New feature or request label May 30, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Improves NuGet packaging by publishing repository/project URLs and git repository type from Directory.Build.props, packing the root README.md as the rendered package README for both WLED and WLED.DependencyInjection, and adding Microsoft.SourceLink.GitHub to enable Source Link debugging. Also documents the work via plans/15-nuget-package-metadata.md, updates plans/README.md, and records the change in CHANGELOG.md.

Changes:

  • Add shared RepositoryUrl/RepositoryType/PackageProjectUrl to Directory.Build.props.
  • Add PackageReadmeFile, pack ../../README.md, and reference Microsoft.SourceLink.GitHub 8.0.0 in both packable csprojs.
  • Add Plan 15 doc and update plans/README.md and CHANGELOG.md.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
Directory.Build.props Adds repo/project URL metadata applied to all projects.
src/Kevsoft.WLED/Kevsoft.WLED.csproj Adds README packaging and Source Link reference.
src/Kevsoft.WLED.DependencyInjection/Kevsoft.WLED.DependencyInjection.csproj Same packaging metadata for DI package.
plans/15-nuget-package-metadata.md New plan documenting rationale and approach.
plans/README.md Adds Plan 15 (but also duplicates rows for 12–14).
CHANGELOG.md Records the packaging improvements under Unreleased → Changed.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


<ItemGroup>
<None Include="../../icon.png" Pack="true" Visible="false" PackagePath="" />
<None Include="../../README.md" Pack="true" Visible="false" PackagePath="" />
Comment thread plans/README.md
Comment on lines +67 to +70
| 12 | [Usability & correctness improvements](12-usability-and-correctness-improvements.md) | Quality |
| 13 | [Device ergonomics & agent guidance](13-device-ergonomics-and-agent-guidance.md) | Quality |
| 14 | [HttpClient connection lifetime & DNS staleness](14-httpclient-connection-lifetime.md) | Reliability |
| 15 | [NuGet package metadata, README & Source Link](15-nuget-package-metadata.md) | Packaging |
The pack stage failed with NU5019 (File not found: '/README.md') because
the new PackageReadmeFile content was never copied into the build context.
Copy README.md alongside icon.png.

Also copy ./.git (and stop ignoring it) so Microsoft.SourceLink.GitHub can
resolve the commit and emit real source link information instead of warning
that source control information is unavailable.
@kevbite kevbite merged commit be8f393 into master May 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants