This repository was archived by the owner on Nov 3, 2023. It is now read-only.
Commit 3fa0c2e
authored
Fix NuGet publishing errors (#9)
Context: https://devdiv.visualstudio.com/DevDiv/_wiki/wikis/DevDiv.wiki/975/Publishing-a-NuGet-package?anchor=troubleshooting-package-publishing-errors
While attempting to use the internal publishing pipeline part of
bce1b7f, we encountered an error regarding the `.nuspec` file:
The nuget command failed with exit code(1) and error:
Response status code does not indicate success: 400
(The package is not compliant with metadata requirements for Microsoft
packages on NuGet.org. Go to https://aka.ms/Microsoft-NuGet-Compliance
for more information. Policy violations: The package metadata defines
'Miguel de Icaza' as one of the authors which is not allowed by policy.
The package metadata contains a non-compliant copyright element.).
Update the `$(Authors)` property and add a `$(Copyright)` property so
that the resulting `.nupkg` file is compliant.1 parent 06a4ddf commit 3fa0c2e
2 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
0 commit comments