Restore fails due to missing package Microsoft.Extensions.Logging.Log4Net.AspNetCore.
- Dominant language
- C#
- Stars
- 5.5k
- Forks
- 1.5k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 141
Description
The build fails during the restore phase with error NU1101 because the package Microsoft.Extensions.Logging.Log4Net.AspNetCore is not available in any of the configured Azure DevOps feeds.
The build environment is restricted to internal feeds (e.g., dotnet8, dotnet9, dotnet10, etc.), and the requested package does not exist in those feeds or is not accessible via their configured upstream sources. As a result, the restore step fails and the entire build terminates.
```
2026-04-27T15:37:10.5986800Z info: Microsoft.Build.CrankNodes.AgentNode.CrankBasedAgentNode[0] [03:37:10.598] GET https://aspnetperf.servicebus.windows.net/goldlin/jobs/118/touch...
2026-04-27T15:37:10.6979174Z info: Microsoft.Build.CrankNodes.AgentNode.CrankBasedAgentNode[0] [application] Determining projects to restore...
2026-04-27T15:37:10.6979697Z info: Microsoft.Build.CrankNodes.AgentNode.CrankBasedAgentNode[0] [application] /tmp/benchmarks-agent/benchmarks-server-1/fxrj0v4p.v2y/sdk/10.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/tmp/benchmarks-agent/benchmarks-server-1/99c4103f816b483f880c52a42c0826f1/fz3f0or4.ns3/eShopOnBlazor/src/eShopOnBlazor/eShopOnBlazor.csproj]
2026-04-27T15:37:10.7391433Z info: Microsoft.Build.CrankNodes.AgentNode.CrankBasedAgentNode[0] [03:37:10.738] GET https://aspnetperf.servicebus.windows.net/goldlin/jobs/118/state...
2026-04-27T15:37:10.7616019Z info: Microsoft.Build.CrankNodes.AgentNode.CrankBasedAgentNode[0] [03:37:10.761] 200 OK Running
2026-04-27T15:37:11.7702624Z info: Microsoft.Build.CrankNodes.AgentNode.CrankBasedAgentNode[0] [03:37:11.769] GET https://aspnetperf.servicebus.windows.net/goldlin/jobs/118/state...
2026-04-27T15:37:11.7771074Z info: Microsoft.Build.CrankNodes.AgentNode.CrankBasedAgentNode[0] [application] /tmp/benchmarks-agent/benchmarks-server-1/99c4103f816b483f880c52a42c0826f1/fz3f0or4.ns3/eShopOnBlazor/src/eShopOnBlazor/eShopOnBlazor.csproj : error NU1101: Unable to find package Microsoft.Extensions.Logging.Log4Net.AspNetCore. No packages exist with this id in source(s): dotnet-public, dotnet10, dotnet10-transport, dotnet11, dotnet11-transport, dotnet8, dotnet8-transport, dotnet9, dotnet9-transport [/tmp/benchmarks-agent/benchmarks-server-1/99c4103f816b483f880c52a42c0826f1/fz3f0or4.ns3/eShopOnBlazor/eShopOnBlazor.sln]
2026-04-27T15:37:11.7771743Z info: Microsoft.Build.CrankNodes.AgentNode.CrankBasedAgentNode[0] [application] Failed to restore /tmp/benchmarks-agent/benchmarks-server-1/99c4103f816b483f880c52a42c0826f1/fz3f0or4.ns3/eShopOnBlazor/src/eShopOnBlazor/eShopOnBlazor.csproj (in 784 ms).
2026-04-27T15:37:11.7772043Z info: Microsoft.Build.CrankNodes.AgentNode.CrankBasedAgentNode[0] [application]
2026-04-27T15:37:11.7772251Z info: Microsoft.Build.CrankNodes.AgentNode.CrankBasedAgentNode[0] [application] Build FAILED.
2026-04-27T15:37:11.7772749Z info: Microsoft.Build.CrankNodes.AgentNode.CrankBasedAgentNode[0] [application]
2026-04-27T15:37:11.7773194Z info: Microsoft.Build.CrankNodes.AgentNode.CrankBasedAgentNode[0] [application] /tmp/benchmarks-agent/benchmarks-server-1/fxrj0v4p.v2y/sdk/10.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/tmp/benchmarks-agent/benchmarks-server-1/99c4103f816b483f880c52a42c0826f1/fz3f0or4.ns3/eShopOnBlazor/src/eShopOnBlazor/eShopOnBlazor.csproj]
2026-04-27T15:37:11.7773896Z info: Microsoft.Build.CrankNodes.AgentNode.CrankBasedAgentNode[0] [application] /tmp/benchmarks-agent/benchmarks-server-1/99c4103f816b483f880c52a42c0826f1/fz3f0or4.ns3/eShopOnBlazor/src/eShopOnBlazor/eShopOnBlazor.csproj : error NU1101: Unable to find package Microsoft.Extensions.Logging.Log4Net.AspNetCore. No packages exist with this id in source(s): dotnet-public, dotnet10, dotnet10-transport, dotnet11, dotnet11-transport, dotnet8, dotnet8-transport, dotnet9, dotnet9-transport [/tmp/benchmarks-agent/benchmarks-server-1/99c4103f816b483f880c52a42c0826f1/fz3f0or4.ns3/eShopOnBlazor/eShopOnBlazor.sln]
2026-04-27T15:37:11.7774352Z info: Microsoft.Build.CrankNodes.AgentNode.CrankBasedAgentNode[0] [application] 1 Warning(s)
2026-04-27T15:37:11.7774562Z info: Microsoft.Build.CrankNodes.AgentNode.CrankBasedAgentNode[0] [application] 1 Error(s)
2026-04-27T15:37:11.7774774Z info: Microsoft.Build.CrankNodes.AgentNode.CrankBasedAgentNode[0] [application]
2026-04-27T15:37:11.7775005Z info: Microsoft.Build.CrankNodes.AgentNode.CrankBasedAgentNode[0] [application] Time Elapsed 00:00:01.91
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.