Skip to content

ci: build the Windows sample for its Windows target framework only - #85

Merged
fmazzant merged 1 commit into
release/1.7.0from
ci/windows-sample-target-framework
Dec 1, 2026
Merged

fmazzant merged 1 commit into
release/1.7.0from
ci/windows-sample-target-framework

Conversation

@fmazzant

@fmazzant fmazzant commented Dec 1, 2026

Copy link
Copy Markdown
Owner

Summary

build-windows has been failing on release/1.7.0 since 2026-11-22: the sample build fails with NETSDK1147 (the ios workload is missing). The job installs only maui-windows, and the restore of the sample evaluates every target framework (android, ios, maccatalyst), even with -f. It started failing when the runner image began shipping .NET SDK 10.0.404 preinstalled; the 2026-11-17 runs, which downloaded the same SDK, passed.

Fix: in that job, build the sample with -p:TargetFrameworks=net10.0-windows10.0.19041.0.

Tests

The build-windows job fails with NETSDK1147 (ios workload missing) since
the runner image ships .NET SDK 10.0.404: restore evaluates every target
framework of the sample, -f included, and only maui-windows is installed.
Restrict the sample to its Windows target framework in that job.
@fmazzant fmazzant self-assigned this Dec 1, 2026
@fmazzant fmazzant added this to the 1.7.0 milestone Dec 1, 2026
@fmazzant
fmazzant merged commit ade295f into release/1.7.0 Dec 1, 2026
4 checks passed
@fmazzant
fmazzant deleted the ci/windows-sample-target-framework branch December 1, 2026 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants