[Bug]: PackageSourceMapping inconsistencies should be reported #11385
Labels
Area:ErrorHandling
warnings and errors/log messages & related error codes.
Area:PackageSourceMapping
Issues related to the package source mapping feature
Category:Quality Week
Issues that should be considered for quality week
Functionality:Restore
Priority:2
Issues for the current backlog.
Type:Bug
Milestone
NuGet Product(s) Affected
NuGet.exe, MSBuild.exe, dotnet.exe
Current Behavior
When there is a no source matching the source name of a
<packageSourceMapping>
(typically a typo, or maybe after a git merge), a restore can fail with a very generic errorDesired Behavior
There should be a more helpful message.
Maybe a warning at the beginning if there is no source corresponding to a
<packageSourceMapping>
entry.Additional Context
No response
The text was updated successfully, but these errors were encountered: