-
Notifications
You must be signed in to change notification settings - Fork 138
Description
Failure Mode: Package Not Found – microsoft.netcore.app.crossgen2.linux-x64
Detailed Explanation
The build is failing because it cannot find the required NuGet package microsoft.netcore.app.crossgen2.linux-x64 at the specified version. This typically occurs when the requested package version does not exist in any of the configured feeds, or the feeds are not up-to-date. The error is consistently observed in both CentOS and Alpine container jobs, resulting in a bash exit code 1.
Relevant error lines:
error NU1102: ... Unable to find package microsoft.netcore.app.crossgen2.linux-x64 with version (= ...)Bash exited with code '1'.
Locations within a build:
CentOSStream9_Online_PreviousSourceBuiltSdk_x64(Build (centOSStreamContainer))Alpine321_Offline_MsftSdk_x64(Build (alpineContainer))
Example error log excerpt:
src/sdk/src/Layout/redist/redist.csproj(0,0): error NU1102: (NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package microsoft.netcore.app.crossgen2.linux-x64 with version (= 10.0.0-preview.5.25263.109)
- Found 2053 version(s) in dotnet6 [ Nearest version: 6.0.2-servicing.1.22101.5 ]
- Found 1562 version(s) in dotnet7 [ Nearest version: 7.0.0-rtm.22511.4 ]
- Found 1458 version(s) in dotnet8 [ Nearest version: 8.0.0-rtm.23523.3 ]
- Found 1417 version(s) in dotnet9 [ Nearest version: 9.0.0-rtm.24516.5 ]
- Found 1169 version(s) in dotnet10 [ Nearest version: 10.0.0-preview.5.25263.108 ]
- Found 147 version(s) in dotnet-public [ Nearest version: 10.0.0-preview.4.25258.110 ]
- Found 1 version(s) in previously-source-built [ Nearest version: 10.0.0-preview.4.25225.6 ]
...
Bash exited with code '1'.
Affected Builds
The following builds have been affected by this issue (including newly detected failures):
- Build 20250513.9
- Build 20250513.8
- Build 20250513.4
- Build 20250513.2
- Build 20250513.1
- Build 20250512.5
- Build 20250512.4
- Build 20250512.3
- Build 20250512.2
Note: Only the CentOS and Alpine jobs are directly related to the missing package failure. Other failures in these builds may be unrelated. For detailed logs of each failed job, see the build links above.
Metadata
Metadata
Assignees
Type
Projects
Status
Status