Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.66 KB

File metadata and controls

34 lines (25 loc) · 1.66 KB
title description author ms.author ms.date ms.topic ms.reviewer f1_keywords
NuGet Error NU1103
NU1103 error code
zhili1208
lzhi
06/25/2018
reference
anangaur
NU1103

NuGet Error NU1103

Scenario 1

Unable to find a stable package 'PackageId' with version (>= 3.0.0)
- Found 10 version(s) in 'sourceA' [ Nearest version: '4.0.0-rc-2129' ]
- Found 9 version(s) in 'sourceB' [ Nearest version: '3.0.0-beta-00032' ]
- Found 0 version(s) in 'sourceC'
- Found 0 version(s) in 'sourceD'

Issue

The project specified a stable version for the dependency range, but no stable versions were found in that range. Pre-release versions were found but are not allowed.

Solution

Edit the version range in the project file to include pre-release versions. See Package versioning.

Scenario 2

Unable to find a stable package 'PackageId' with version (>= 3.0.0)
- Found 10 version(s) in 'sourceA' [ Nearest version: '4.0.0-rc-2129' ]
- Versions from sourceB were not considered

Issue

The project specified a stable version for the dependency range, but no stable versions were found in that range. Pre-release versions were found but are not allowed.

Solution

Edit the version range in the project file to include pre-release versions. See Package versioning. Check your NuGet.Config for the PackageSourceMapping configuration. The package version in question may be available on a source that is not configured.