Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Fix NuGet publishing errors - #9

Merged
jonpryor merged 1 commit into
masterfrom
jonp-fix-nuget-compliance-errors
Oct 19, 2020
Merged

Fix NuGet publishing errors#9
jonpryor merged 1 commit into
masterfrom
jonp-fix-nuget-compliance-errors

Conversation

@jonpryor

Copy link
Copy Markdown
Contributor

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.

@jonpryor
jonpryorforce-pushed the jonp-fix-nuget-compliance-errors branch from 9e391a6 to 3bace91CompareOctober 19, 2020 19:05
@azure-pipelines

Copy link
Copy Markdown
Commenter does not have sufficient privileges for PR 9 in repo mono/LineEditor

@jonpryor
jonpryorforce-pushed the jonp-fix-nuget-compliance-errors branch 2 times, most recently from f731222 to a125b47CompareOctober 19, 2020 19:29
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.
@jonpryor
jonpryorforce-pushed the jonp-fix-nuget-compliance-errors branch from a125b47 to 7286f83CompareOctober 19, 2020 19:39
@jonpryor
jonpryor merged commit 3fa0c2e into masterOct 19, 2020
@jonpryor
jonpryor deleted the jonp-fix-nuget-compliance-errors branch October 19, 2020 19:51
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@jonpryor@mattleibow