dotnet restore dependency resolution not pulling latest version

Viewed 651

I have a dependency chain that looks like this, I'm using dotnet restore (as apposed to Nuget restore) within my CI/CD chain

Project A (csproj) -> Project B (nuspec) -> Project C (csproj)

  • Project A refers to Project B with <PackageReference Include="Project B" Version="2.*/>
  • Project B refers to Project C with <dependency id="Project C" version="2.*/>

I always get the correct (latest) version of Project B but the restore always pulls the lowest version on Project C

I've tried adding --no-cache and --force-evaluate to the dotnet command line

0 Answers
Related