Skip to content

Commit 6722683

Browse files
dansiegelclaude
andcommitted
ci: fix release/stable/9.0 build against current SDK & runner images
The first full CI run on the 9.0 branch in a while (triggered by the #3407 navigation backport push) failed due to toolchain drift, not the backported code itself: - Maui & Uno fail with NETSDK1202: the net8.0 platform workloads (net8.0-android/ios/maccatalyst/macos) are now end-of-life, and the CI SDK (10.0.301) fails the build over it. Opt out of the EOL checks via CheckEolWorkloads/CheckEolTargetFramework - the 9.0 maintenance branch intentionally targets .NET 8 for its lifecycle. - Forms fails because the Xamarin.Android (MonoAndroid) language targets ship only with Visual Studio's Xamarin component, which was dropped from windows-latest (VS 18) and windows-2025. Pin the Forms job to windows-2022, the last hosted image that still includes it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent c7a8dc2 commit 6722683

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ jobs:
5555
build-prism-forms:
5656
uses: avantipoint/workflow-templates/.github/workflows/msbuild-build.yml@v1
5757
with:
58+
# Prism.Forms builds the Xamarin.Android (MonoAndroid) target, whose language targets
59+
# ship only with Visual Studio's Xamarin component. That component was dropped from
60+
# windows-latest (VS 18) and windows-2025, so pin to windows-2022 which still includes it.
61+
runs-on: windows-2022
5862
name: Build Prism.Forms
5963
solution-path: PrismLibrary_Forms.slnf
6064
code-sign: true

Directory.Build.props

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@
2525
</PolySharpIncludeGeneratedTypes>
2626
<WarningsAsErrors>$(WarningsAsErrors);IDE0003</WarningsAsErrors>
2727
<ImplicitUsings>enable</ImplicitUsings>
28+
<!--
29+
Prism 9.0 is a maintenance branch that intentionally targets .NET 8 and its platform
30+
workloads (net8.0-android, net8.0-ios, net8.0-maccatalyst, net8.0-macos). Current .NET
31+
SDKs flag these as end-of-life - NETSDK1202 for the workloads and NETSDK1138 for the
32+
target framework - which fails the build. Opt out of the EOL checks so the branch keeps
33+
building on current SDKs; shipping these targets for the 9.0 lifecycle is intentional.
34+
-->
35+
<CheckEolWorkloads>false</CheckEolWorkloads>
36+
<CheckEolTargetFramework>false</CheckEolTargetFramework>
2837
</PropertyGroup>
2938

3039
<PropertyGroup>

0 commit comments

Comments
 (0)