Closed
Description
When building stage 2 for release/8.0.1xx, our CI is failing to build runtime due to a Newtonsoft.Json version mismatch:
/home/tester/dotnet/src/runtime/artifacts/source-build/self/src/src/libraries/Microsoft.NETCore.Platforms/src/Microsoft.NETCore.Platforms.csproj : error NU1605: Warning As Error: Detected package downgrade: Newtonsoft.Json from 13.0.3 to 13.0.1. Reference the package directly from the project to select a different version. [/home/tester/dotnet/src/runtime/artifacts/source-build/self/src/Build.proj]
/home/tester/dotnet/src/runtime/artifacts/source-build/self/src/src/libraries/Microsoft.NETCore.Platforms/src/Microsoft.NETCore.Platforms.csproj : error NU1605: Microsoft.NETCore.Platforms_temp -> NuGet.ProjectModel 6.8.0-rc.32767 -> NuGet.DependencyResolver.Core 6.8.0-rc.32767 -> NuGet.Protocol 6.8.0-rc.32767 -> NuGet.Packaging 6.8.0-rc.32767 -> Newtonsoft.Json (>= 13.0.3) [/home/tester/dotnet/src/runtime/artifacts/source-build/self/src/Build.proj]
/home/tester/dotnet/src/runtime/artifacts/source-build/self/src/src/libraries/Microsoft.NETCore.Platforms/src/Microsoft.NETCore.Platforms.csproj : error NU1605: Microsoft.NETCore.Platforms_temp -> Newtonsoft.Json (>= 13.0.1) [/home/tester/dotnet/src/runtime/artifacts/source-build/self/src/Build.proj]
Failed to restore /home/tester/dotnet/src/runtime/artifacts/source-build/self/src/src/libraries/Microsoft.NETCore.Platforms/src/Microsoft.NETCore.Platforms.csproj (in 2.68 sec).
Build FAILED.
The artifacts tarball from the stage 1 build contains 13.0.3, but the build prefers to have 13.0.1.
Metadata
Metadata
Assignees
Type
Projects
Status
Done