dotnet nuget push
does not recognize --configfile
option
#14088
Labels
dotnet nuget push
does not recognize --configfile
option
#14088
NuGet Product Used
dotnet.exe
Product Version
8.0.405
Worked before?
No
Impact
I'm unable to use this version
Repro Steps & Context
To reproduce, run a push command like
dotnet nuget push MyPackage.1.0.0.nupkg -k [...] -s [...] --configfile path/to/nuget.config
.Expected outcome
The package is pushed to the specified source using the specified config file.
Actual outcome
An
error: Unrecognized option '--configfile'
error is returned.Other details
My particular reason for needing this is that the source I want to push to is using HTTP authentication, and the credentials are stored in a NuGet config file.
Running an equivalent command using
nuget.exe
such as./nuget.exe push MyPackage.1.0.0.nupkg [...] -Source [...] -ConfigFile path/to/nuget.config
works as expected.Verbose Logs
Full
dotnet --info
outputThe text was updated successfully, but these errors were encountered: