[codex] Fix PR workflow MSBuild 17.14 mismatch#234
Conversation
PR Review: Fix PR workflow MSBuild 17.14 mismatchOverall: The fix is correct and well-motivated. The MSBuild/SDK version mismatch is a real blocker and this cleanly resolves it. A few things worth noting before merging: What looks good
Concerns to consider1. Scope change: PR now builds more than push does The push workflow ( This is not necessarily bad — wider coverage is good — but it creates an asymmetry: a PR could fail CI due to an app project issue that the push workflow would never catch. Worth deciding intentionally whether the full-solution scope is desired, or if the solution file should be scoped to libs only (e.g., a separate 2. Build configuration The old 3. The Minor notes
Summary: The root cause diagnosis is correct and the fix is sound. Main things to verify before merging: (a) that the reusable workflow handles |
|
test |
|
PR Review — Fix PR workflow MSBuild 17.14 mismatch Overall: Clean, well-scoped fix for a genuine CI problem. MSBuild 17.14 on the Windows runner does not support .NET SDK 10 projects; switching to What is good
Concern 1 — Maintenance burden of a second solution file
Concern 2 — The old MSBuild
Concern 3 — Integration tests now in the PR build
Concern 4 — Reusable workflow pinned to Pre-existing, not introduced here: Minor nit: Windows-style backslashes in Summary: The fix is correct and the approach is sound. Two things to confirm before merging: (1) MAUI builds cleanly with the MAUI workload on the PR runner, and (2) integration tests do not require interactive/UI infrastructure to run in CI. Once verified, this looks ready to go. |
Summary
msbuildpath for PR validation.NET 10explicitlyH.NotifyIcon.slnxwithdotnet buildinstead of MSBuild-only/target:argumentsWhy
The reusable PR workflow currently invokes
msbuildwhenuse-msbuild: true. On GitHub's Windows runner that resolves to MSBuild 17.14, while this repo now resolves.NET SDK 10.0.201, which requires MSBuild 18.0+. That makes every PR fail before it gets to meaningful validation.Notes
This change is only for the PR validation workflow. The push workflow in this repo already uses
dotnet builddirectly.