NuGet Error NU1102
Scenario 1
Unable to find package 'PackageId' with version (>= 9.0.1)
- Found 30 version(s) in 'sourceA' [ Nearest version: '4.0.0' ]
- Found 10 version(s) in 'sourceB' [ Nearest version: '4.0.0-rc-2129' ]
- Found 9 version(s) in 'sourceC' [ Nearest version: '3.0.0-beta-00032' ]
- Found 0 version(s) in 'sourceD'
- Found 0 version(s) in 'sourceE'
Issue
The package identifier is found but a version within the specified dependency range cannot be found on any of the sources. The range might be specified by a package and not the user.
Solution
Edit the project file to correct the package version. Also check that the NuGet configuration identifies the package sources your expect to be using. You may need to change the requested version if this package is referenced by the project directly.
Scenario 2
Unable to find package 'PackageId' with version (>= 9.0.1)
- Found 30 version(s) in 'sourceA' [ Nearest version: '4.0.0' ]
- Versions from sourceB were not considered
Issue
The package identifier is found but a version within the specified dependency range cannot be found on any of the sources. The range might be specified by a package and not the user.
Solution
Edit the project file to correct the package version. Check your NuGet.Config for the PackageSourceMapping configuration. The package version in question may be available on a source that is not configured.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for