The nuget push
command failure is misleading
#14014
Labels
Area:ErrorHandling
warnings and errors/log messages & related error codes.
Functionality:Push
Type:Bug
NuGet Product Used
dotnet.exe
Product Version
9.0.100
Worked before?
No response
Impact
It's more difficult to complete my work
Repro Steps & Context
Context:
A few years ago, I wrote some packages that were prefixed with
GitHub.*
and GitHub has since reserved that prefix. The existing packages that I've maintained are able to be updated, but I'm not able to push new packages with the prefix anymore. I'm good with all that, but I was unaware that the prefix was reserved as the error/failure messages are misleading.CI/CD
You can see that the error message indicates a package with the same ID already exists, which is not true, you can look yourself. But the prefix is now reserved, that should be in the error message.
Something more like the UX on NuGet.org would be better:
Reproduce:
Push a package to the official feeds where the package ID includes a prefix that is reserved.
Verbose Logs
No response
The text was updated successfully, but these errors were encountered: