I've got a project with the following PackageReference:
<ItemGroup><PackageReference Include="SIL.LCModel.Utils" Version="10.2.0-*" /></ItemGroup>
Now based on the below search, I expect Nuget to resolve the package to "10.2.0-netcore0083" as desired.
PM> Find-Package -AllVersions -source https://api.nuget.org/v3/index.json SIL.LCModel.Utils -IncludePrerelease -ExactMatch | foreach { $_.Versions } | Select-Object OriginalVersionTime Elapsed: 00:00:01.1477577OriginalVersion --------------- 10.2.0-netcore008310.2.0-beta0033 10.2.0-beta0032 10.2.0-beta0031 10.2.0-beta0027 10.2.0-beta0026 10.2.0-beta0025 10.2.0-beta0024 10.2.0-beta0023 10.2.0-beta0022 10.2.0-beta0011 10.2.0-beta0007 10.2.0-beta0006 10.2.0-beta0005 10.2.0-beta0004 10.2.0-beta0002 10.2.0-beta0001 10.1.0
But it's resolving to:
PS C:\Users\joseph\source> dotnet list .\src\MyProject.csproj packageProject 'MyProject' has the following package references [netstandard2.0]: Top-level Package Requested Resolved> SIL.LCModel.Utils 10.2.0-* 10.2.0-restorepacking0022
I've cleared my nuget caches, even done a whole-drive sweep for "restorepacking" just to be sure. This happens locally and on the build server. I'm assuming it prefers this package over the "netcore0083" due to the first example here, as opposed to taking the latest, but my real question is: Where is this package coming from?