dotnet/installer

Installer unable to build v7.0.406/v6.0.419: missing NuGet packages

Thefrank opened this issue · 1 comments

Exactly the same package names as #14784 but just different versions.
Same steps:

git clone https://github.com/dotnet/installer
cd installer
git checkout tags/v7.0.406
./build.sh -c Release
/home/frank/installer/src/SdkResolver/SdkResolver.csproj : error NU1603: Microsoft.DotNet.Cli.Utils 7.0.406-servicing.24069.9 depends on NuGet.Frameworks (>= 6.7.1-rc.1) but NuGet.Frameworks 6.7.1-rc.1 was not found. An approximate best match of NuGet.Frameworks 6.7.1 was resolved. [/home/frank/installer/Microsoft.DotNet.Cli.sln]
/home/frank/installer/src/SdkResolver/SdkResolver.csproj : error NU1603: Microsoft.DotNet.Cli.Utils 7.0.406-servicing.24069.9 depends on NuGet.Packaging (>= 6.7.1-rc.1) but NuGet.Packaging 6.7.1-rc.1 was not found. An approximate best match of NuGet.Packaging 6.7.1 was resolved. [/home/frank/installer/Microsoft.DotNet.Cli.sln]
/home/frank/installer/src/SdkResolver/SdkResolver.csproj : error NU1603: Microsoft.DotNet.Cli.Utils 7.0.406-servicing.24069.9 depends on NuGet.Packaging.Core (>= 6.7.1-rc.1) but NuGet.Packaging.Core 6.7.1-rc.1 was not found. An approximate best match of NuGet.Packaging.Core 6.7.1 was resolved. [/home/frank/installer/Microsoft.DotNet.Cli.sln]
/home/frank/installer/src/SdkResolver/SdkResolver.csproj : error NU1603: Microsoft.DotNet.Cli.Utils 7.0.406-servicing.24069.9 depends on NuGet.ProjectModel (>= 6.7.1-rc.1) but NuGet.ProjectModel 6.7.1-rc.1 was not found. An approximate best match of NuGet.ProjectModel 6.7.1 was resolved. [/home/frank/installer/Microsoft.DotNet.Cli.sln]
/home/frank/installer/src/SdkResolver/SdkResolver.csproj : error NU1603: Microsoft.DotNet.Cli.Utils 7.0.406-servicing.24069.9 depends on NuGet.Versioning (>= 6.7.1-rc.1) but NuGet.Versioning 6.7.1-rc.1 was not found. An approximate best match of NuGet.Versioning 6.7.1 was resolved. [/home/frank/installer/Microsoft.DotNet.Cli.sln]
/home/frank/installer/test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj : error NU1603: Microsoft.DotNet.Cli.Utils 7.0.406-servicing.24069.9 depends on NuGet.Frameworks (>= 6.7.1-rc.1) but NuGet.Frameworks 6.7.1-rc.1 was not found. An approximate best match of NuGet.Frameworks 6.7.1 was resolved. [/home/frank/installer/Microsoft.DotNet.Cli.sln]
/home/frank/installer/test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj : error NU1603: Microsoft.DotNet.Cli.Utils 7.0.406-servicing.24069.9 depends on NuGet.Packaging (>= 6.7.1-rc.1) but NuGet.Packaging 6.7.1-rc.1 was not found. An approximate best match of NuGet.Packaging 6.7.1 was resolved. [/home/frank/installer/Microsoft.DotNet.Cli.sln]
/home/frank/installer/test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj : error NU1603: Microsoft.DotNet.Cli.Utils 7.0.406-servicing.24069.9 depends on NuGet.Packaging.Core (>= 6.7.1-rc.1) but NuGet.Packaging.Core 6.7.1-rc.1 was not found. An approximate best match of NuGet.Packaging.Core 6.7.1 was resolved. [/home/frank/installer/Microsoft.DotNet.Cli.sln]
/home/frank/installer/test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj : error NU1603: Microsoft.DotNet.Cli.Utils 7.0.406-servicing.24069.9 depends on NuGet.ProjectModel (>= 6.7.1-rc.1) but NuGet.ProjectModel 6.7.1-rc.1 was not found. An approximate best match of NuGet.ProjectModel 6.7.1 was resolved. [/home/frank/installer/Microsoft.DotNet.Cli.sln]
/home/frank/installer/test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj : error NU1603: Microsoft.DotNet.Cli.Utils 7.0.406-servicing.24069.9 depends on NuGet.Versioning (>= 6.7.1-rc.1) but NuGet.Versioning 6.7.1-rc.1 was not found. An approximate best match of NuGet.Versioning 6.7.1 was resolved. [/home/frank/installer/Microsoft.DotNet.Cli.sln]
/home/frank/installer/test/EndToEnd/EndToEnd.Tests.csproj : error NU1603: Microsoft.DotNet.Cli.Utils 7.0.406-servicing.24069.9 depends on NuGet.Frameworks (>= 6.7.1-rc.1) but NuGet.Frameworks 6.7.1-rc.1 was not found. An approximate best match of NuGet.Frameworks 6.7.1 was resolved. [/home/frank/installer/Microsoft.DotNet.Cli.sln]
/home/frank/installer/test/EndToEnd/EndToEnd.Tests.csproj : error NU1603: Microsoft.DotNet.Cli.Utils 7.0.406-servicing.24069.9 depends on NuGet.Packaging (>= 6.7.1-rc.1) but NuGet.Packaging 6.7.1-rc.1 was not found. An approximate best match of NuGet.Packaging 6.7.1 was resolved. [/home/frank/installer/Microsoft.DotNet.Cli.sln]
/home/frank/installer/test/EndToEnd/EndToEnd.Tests.csproj : error NU1603: Microsoft.DotNet.Cli.Utils 7.0.406-servicing.24069.9 depends on NuGet.Packaging.Core (>= 6.7.1-rc.1) but NuGet.Packaging.Core 6.7.1-rc.1 was not found. An approximate best match of NuGet.Packaging.Core 6.7.1 was resolved. [/home/frank/installer/Microsoft.DotNet.Cli.sln]
/home/frank/installer/test/EndToEnd/EndToEnd.Tests.csproj : error NU1603: Microsoft.DotNet.Cli.Utils 7.0.406-servicing.24069.9 depends on NuGet.ProjectModel (>= 6.7.1-rc.1) but NuGet.ProjectModel 6.7.1-rc.1 was not found. An approximate best match of NuGet.ProjectModel 6.7.1 was resolved. [/home/frank/installer/Microsoft.DotNet.Cli.sln]
/home/frank/installer/test/EndToEnd/EndToEnd.Tests.csproj : error NU1603: Microsoft.DotNet.Cli.Utils 7.0.406-servicing.24069.9 depends on NuGet.Versioning (>= 6.7.1-rc.1) but NuGet.Versioning 6.7.1-rc.1 was not found. An approximate best match of NuGet.Versioning 6.7.1 was resolved. [/home/frank/installer/Microsoft.DotNet.Cli.sln]
    0 Warning(s)
    15 Error(s)

Of the pubic feeds listed I found two with those named packages: https://dev.azure.com/dnceng/public/_artifacts/feed/dotnet-tools/ and https://dev.azure.com/dnceng/public/_artifacts/feed/dotnet-public/ neither of which contain the exact version it wants. https://github.com/NuGet/NuGet.Client lacks a tag for 6.7.1-rc.1

Other versions with similar results:

  • v7.0.313 needs 6.6.2-rc.1
  • v7.0.116 needs 6.4.3-rc.1
  • v6.0.419 needs 6.3.4-rc.2
  • v6.0.217 needs 6.0.6-rc.4

I have not tried anything net8 yet.

The missing NuGet versions are now on public feeds.