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

Fix NuGet publishing errors #9

Merged
merged 1 commit into from
Oct 19, 2020
Merged

Conversation

jonpryor
Copy link
Member

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 jonpryor force-pushed the jonp-fix-nuget-compliance-errors branch from 9e391a6 to 3bace91 Compare October 19, 2020 19:05
@azure-pipelines
Copy link

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

@jonpryor jonpryor force-pushed the jonp-fix-nuget-compliance-errors branch 2 times, most recently from f731222 to a125b47 Compare October 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 jonpryor force-pushed the jonp-fix-nuget-compliance-errors branch from a125b47 to 7286f83 Compare October 19, 2020 19:39
@jonpryor jonpryor merged commit 3fa0c2e into master Oct 19, 2020
@jonpryor jonpryor deleted the jonp-fix-nuget-compliance-errors branch October 19, 2020 19:51
Sign up for free to 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