Summary
The Source Build Outer Loop pipeline (1525) is failing on main because the source-built SDK attempts to build mobile (android/ios/tvos/maccatalyst) projects with the Mono runtime, which is no longer supported in .NET 11.
Failing build
- Pipeline: Source Build Outer Loop (id 1525)
- Build: 3006776
- Branch:
refs/heads/main
- Failing leg:
SB_CentOSStream10_Mono_Offline_CurrentSourceBuiltSdk_x64
- Failing task:
Build (centOSStreamContainer)
Error
NETSDK1242: Building android/ios/tvos/maccatalyst projects with the Mono runtime is not supported in .NET 11.0 and later. Use the CoreCLR runtime or target .NET 10.0.
Root cause
The runtime restore in the Mono offline leg pulls in .NET 11 mobile targets while using the Mono runtime. As of .NET 11, mobile workload projects can no longer be built against the Mono runtime.
Suggested fix
Update the source-build / runtime configuration so the Mono leg does not build mobile targets under .NET 11 — either switch those targets to the CoreCLR runtime or target .NET 10.0 for the affected projects.
Category
Configuration
Summary
The Source Build Outer Loop pipeline (1525) is failing on
mainbecause the source-built SDK attempts to build mobile (android/ios/tvos/maccatalyst) projects with the Mono runtime, which is no longer supported in .NET 11.Failing build
refs/heads/mainSB_CentOSStream10_Mono_Offline_CurrentSourceBuiltSdk_x64Build (centOSStreamContainer)Error
Root cause
The runtime restore in the Mono offline leg pulls in .NET 11 mobile targets while using the Mono runtime. As of .NET 11, mobile workload projects can no longer be built against the Mono runtime.
Suggested fix
Update the source-build / runtime configuration so the Mono leg does not build mobile targets under .NET 11 — either switch those targets to the CoreCLR runtime or target .NET 10.0 for the affected projects.
Category
Configuration