[Bug]: Package namespaces for packages.config scenarios is using all the sources as fallback option when no matching namespaces are found for a package #11170
Labels
Area:PackageSourceMapping
Issues related to the package source mapping feature
Functionality:Restore
Priority:1
High priority issues that must be resolved in the current sprint.
Product:NuGet.exe
NuGet.exe
Type:Bug
Milestone
NuGet Product Used
MSBuild.exe, NuGet.exe, Visual Studio Package Management UI, Visual Studio Package Manager Console
Product Version
nuget.exe
Worked before?
No response
Impact
Other
Repro Steps & Context
The following test should have failed because "测试更新包" package has no namespace defined. When I ran the test locally the said package was restored successfully which should not be the case.
https://github.com/NuGet/NuGet.Client/blob/c1a0597e5498bcf3bf0938b3dd0170edbf0b2d20/test/NuGet.Clients.Tests/NuGet.CommandLine.Test/NuGetRestoreCommandTest.cs#L2664
Verbose Logs
No response
The text was updated successfully, but these errors were encountered: