You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VMR stage2 failed to find a stable package System.CommandLine #4487
/vmr/eng/tools/BinaryToolKit/BinaryToolKit.csproj : warning NU1604: Project dependency Microsoft.Extensions.FileSystemGlobbing does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
/vmr/eng/tools/BinaryToolKit/BinaryToolKit.csproj : warning NU1604: Project dependency Microsoft.Extensions.Logging does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
/vmr/eng/tools/BinaryToolKit/BinaryToolKit.csproj : warning NU1604: Project dependency Microsoft.Extensions.Logging.Console does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
/vmr/eng/tools/BinaryToolKit/BinaryToolKit.csproj : warning NU1604: Project dependency System.CommandLine does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
/vmr/eng/tools/BinaryToolKit/BinaryToolKit.csproj : error NU1103: Unable to find a stable package System.CommandLine with version
/vmr/eng/tools/BinaryToolKit/BinaryToolKit.csproj : error NU1103: - Found 1 version(s) in /tmp/tmp.UFv6tMGnqh [ Nearest version: 2.0.0-beta4.24326.1 ]
/vmr/eng/tools/BinaryToolKit/BinaryToolKit.csproj : error NU1103: - Found 0 version(s) in /vmr/.dotnet/library-packs
The build failed. Fix the build errors and run again.
I'm seeing the following build failures in our CI on stage2. @ViktorHofer@ellahathaway I assume the root cause is the same?
/home/tester/dotnet/src/templating/src/Microsoft.TemplateEngine.Orchestrator.RunnableProjects/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.csproj : error NU1604: Warning As Error: Project dependency Newtonsoft.Json does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateEngine.Orchestrator.RunnableProjects/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.csproj : error NU1602: Warning As Error: Microsoft.TemplateEngine.Abstractions does not provide an inclusive lower bound for dependency Microsoft.Extensions.Logging.Abstractions. An approximate best match of Microsoft.Extensions.Logging.Abstractions 2.1.1 was resolved. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateEngine.Orchestrator.RunnableProjects/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.csproj : error NU1602: Warning As Error: Microsoft.TemplateEngine.Utils does not provide an inclusive lower bound for dependency Microsoft.Extensions.Logging.Abstractions. An approximate best match of Microsoft.Extensions.Logging.Abstractions 2.1.1 was resolved. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateEngine.Abstractions/Microsoft.TemplateEngine.Abstractions.csproj : error NU1604: Warning As Error: Project dependency Microsoft.Extensions.Logging.Abstractions does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateSearch.Common/Microsoft.TemplateSearch.Common.csproj : error NU1604: Warning As Error: Project dependency Newtonsoft.Json does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateSearch.Common/Microsoft.TemplateSearch.Common.csproj : error NU1602: Warning As Error: Microsoft.TemplateEngine.Abstractions does not provide an inclusive lower bound for dependency Microsoft.Extensions.Logging.Abstractions. An approximate best match of Microsoft.Extensions.Logging.Abstractions 2.1.1 was resolved. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateEngine.Utils/Microsoft.TemplateEngine.Utils.csproj : error NU1604: Warning As Error: Project dependency Microsoft.Extensions.Logging.Abstractions does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateEngine.Utils/Microsoft.TemplateEngine.Utils.csproj : error NU1604: Warning As Error: Project dependency Newtonsoft.Json does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateEngine.Core/Microsoft.TemplateEngine.Core.csproj : error NU1602: Warning As Error: Microsoft.TemplateEngine.Abstractions does not provide an inclusive lower bound for dependency Microsoft.Extensions.Logging.Abstractions. An approximate best match of Microsoft.Extensions.Logging.Abstractions 2.1.1 was resolved. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateEngine.Core/Microsoft.TemplateEngine.Core.csproj : error NU1602: Warning As Error: Microsoft.TemplateEngine.Utils does not provide an inclusive lower bound for dependency Microsoft.Extensions.Logging.Abstractions. An approximate best match of Microsoft.Extensions.Logging.Abstractions 2.1.1 was resolved. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateEngine.Core/Microsoft.TemplateEngine.Core.csproj : error NU1602: Warning As Error: Microsoft.TemplateEngine.Utils does not provide an inclusive lower bound for dependency Newtonsoft.Json. An approximate best match of Newtonsoft.Json 13.0.3 was resolved. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateEngine.Core.Contracts/Microsoft.TemplateEngine.Core.Contracts.csproj : error NU1602: Warning As Error: Microsoft.TemplateEngine.Abstractions does not provide an inclusive lower bound for dependency Microsoft.Extensions.Logging.Abstractions. An approximate best match of Microsoft.Extensions.Logging.Abstractions 2.1.1 was resolved. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateEngine.Edge/Microsoft.TemplateEngine.Edge.csproj : error NU1604: Warning As Error: Project dependency Microsoft.Extensions.Logging.Abstractions does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateEngine.Edge/Microsoft.TemplateEngine.Edge.csproj : error NU1604: Warning As Error: Project dependency Newtonsoft.Json does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateEngine.Edge/Microsoft.TemplateEngine.Edge.csproj : error NU1604: Warning As Error: Project dependency NuGet.Configuration does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateEngine.Edge/Microsoft.TemplateEngine.Edge.csproj : error NU1604: Warning As Error: Project dependency NuGet.Credentials does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateEngine.Edge/Microsoft.TemplateEngine.Edge.csproj : error NU1604: Warning As Error: Project dependency NuGet.Protocol does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateEngine.IDE/Microsoft.TemplateEngine.IDE.csproj : error NU1602: Warning As Error: Microsoft.TemplateEngine.Abstractions does not provide an inclusive lower bound for dependency Microsoft.Extensions.Logging.Abstractions. An approximate best match of Microsoft.Extensions.Logging.Abstractions 2.1.1 was resolved. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateEngine.IDE/Microsoft.TemplateEngine.IDE.csproj : error NU1602: Warning As Error: Microsoft.TemplateEngine.Edge does not provide an inclusive lower bound for dependency Microsoft.Extensions.Logging.Abstractions. An approximate best match of Microsoft.Extensions.Logging.Abstractions 2.1.1 was resolved. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateEngine.IDE/Microsoft.TemplateEngine.IDE.csproj : error NU1602: Warning As Error: Microsoft.TemplateEngine.Utils does not provide an inclusive lower bound for dependency Microsoft.Extensions.Logging.Abstractions. An approximate best match of Microsoft.Extensions.Logging.Abstractions 2.1.1 was resolved. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateEngine.IDE/Microsoft.TemplateEngine.IDE.csproj : error NU1602: Warning As Error: Microsoft.TemplateEngine.Edge does not provide an inclusive lower bound for dependency Newtonsoft.Json. An approximate best match of Newtonsoft.Json 13.0.3 was resolved. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateEngine.IDE/Microsoft.TemplateEngine.IDE.csproj : error NU1602: Warning As Error: Microsoft.TemplateEngine.Orchestrator.RunnableProjects does not provide an inclusive lower bound for dependency Newtonsoft.Json. An approximate best match of Newtonsoft.Json 13.0.3 was resolved. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateEngine.IDE/Microsoft.TemplateEngine.IDE.csproj : error NU1602: Warning As Error: Microsoft.TemplateEngine.Utils does not provide an inclusive lower bound for dependency Newtonsoft.Json. An approximate best match of Newtonsoft.Json 13.0.3 was resolved. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateEngine.IDE/Microsoft.TemplateEngine.IDE.csproj : error NU1602: Warning As Error: Microsoft.TemplateEngine.Edge does not provide an inclusive lower bound for dependency NuGet.Configuration. An approximate best match of NuGet.Configuration 6.2.4 was resolved. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateEngine.IDE/Microsoft.TemplateEngine.IDE.csproj : error NU1602: Warning As Error: Microsoft.TemplateEngine.Edge does not provide an inclusive lower bound for dependency NuGet.Credentials. An approximate best match of NuGet.Credentials 6.2.4 was resolved. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
/home/tester/dotnet/src/templating/src/Microsoft.TemplateEngine.IDE/Microsoft.TemplateEngine.IDE.csproj : error NU1602: Warning As Error: Microsoft.TemplateEngine.Edge does not provide an inclusive lower bound for dependency NuGet.Protocol. An approximate best match of NuGet.Protocol 6.2.4 was resolved. [/home/tester/dotnet/src/templating/Microsoft.TemplateEngine.sln]
Yes, this will be fixed with dotnet/sdk#41895. This is now needed because NuGet reverted a change that we asserted on.
The source-build VMR Stage 2 builds are still failing with the templating errors that @tmds described despite the changes from dotnet/sdk#41895 having flowed in.
Activity
ViktorHofer commentedon Jul 1, 2024
@ellahathaway can you please take a look?
tmds commentedon Jul 2, 2024
I'm seeing the following build failures in our CI on stage2. @ViktorHofer @ellahathaway I assume the root cause is the same?
ViktorHofer commentedon Jul 2, 2024
Yes, this will be fixed with dotnet/sdk#41895. This is now needed because NuGet reverted a change that we asserted on.
ViktorHofer commentedon Jul 2, 2024
We didn't catch this in PR validation because stage2 builds are CI only.
ellahathaway commentedon Jul 3, 2024
The source-build VMR Stage 2 builds are still failing with the templating errors that @tmds described despite the changes from dotnet/sdk#41895 having flowed in.
Link to failing build (internal Microsoft link)
cc @ViktorHofer