fix(nuget): add compliant Copyright element for Microsoft NuGet policy#489
Merged
Conversation
NuGet.org rejects Microsoft packages whose copyright element is empty or
does not match the required string. Add the canonical value:
Copyright = '© Microsoft Corporation. All rights reserved.'
Verified against the generated .nuspec via 'dotnet pack'.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds NuGet package metadata needed for publishing Microsoft.Windows.SDK.BuildTools.WinApp to comply with Microsoft’s nuget.org policy requirements.
Changes:
- Add a compliant
<Copyright>element to the NuGet package.csproj.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
Build Metrics ReportBinary Sizes
Test Results✅ 783 passed, 1 skipped out of 784 tests in 452.7s (+35.0s vs. baseline) Test Coverage❌ 21.5% line coverage, 36.6% branch coverage · ✅ no change vs. baseline CLI Startup Time41ms median (x64, Updated 2026-04-22 06:56:09 UTC · commit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the required
<Copyright>element toMicrosoft.Windows.SDK.BuildTools.WinApp.csprojso the NuGet package satisfies Microsoft's nuget.org compliance policy (https://aka.ms/Microsoft-NuGet-Compliance). Without this element,nuget pushfails with HTTP 400:The package metadata contains a non-compliant copyright element.Sets:
(uses the © character in the actual file — exact string required by policy).
This was already cherry-picked to
rel/v0.3.0asf3db417so the in-flight 0.3.0 NuGet republish can succeed. Merging here ensures future releases ship compliant metadata by default.Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com