Nuget.exe sources add does not work if nuget.config does not have proper section #1589
Labels
Priority:3
Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.
Product:NuGet.exe
NuGet.exe
Triage:Investigate
Type:Bug
Milestone
The sources add command does not add the package source into the nuget config if the nuget.config doesn’t already have both a element and an existing package source. The command output of sources add is "package sources added successfully", while there is no package source added at all.
How to repo:
<?xml version="1.0" encoding="utf-8"?> <configuration />
3.The output is "Package Source with Name: {sourceName} added successfully."
4.Check nuget.config, no source has been added at all.
This bug is that nuget.exe fails to add the package source, while claims it added successfully.
The text was updated successfully, but these errors were encountered: