Calculator sample CI (Upgrade) legs fail with MSB8036: Windows SDK 10.0.22621.0 not found on build agents
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 52/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Ambito
- build-system, ci-cd, devops
Direzione di ricerca
Ispeziona la pipeline CI (Upgrade) di sample-app e il progetto Calculator o il modello di upgrade per identificare dove è richiesto SDK 10.0.22621.0; confronta questo requisito con l’immagine dell’agente VS 2026/Windows Server 2025. Esegui nuovamente i job Calculator cppwinrt, csharp e fabric dopo la modifica selezionata all’ambiente o al targeting; il lavoro è completato quando passano senza MSB8036.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary (plain terms)
The Calculator sample app fails to build in our automated CI (Upgrade) pipeline, but the exact same code builds and runs fine on a normal dev machine. The build machines (CI agents) are simply missing an older Windows SDK (10.0.22621.0) that the Calculator project asks for, so the compiler stops with:
error MSB8036: The Windows SDK version 10.0.22621.0 was not found.
Install the required version of Windows SDK or change the SDK version in the
project property pages or by right-clicking the solution and selecting
"Retarget solution".
This is an environment/agent-provisioning problem, not a bug in the app code or in any React Native / RNW version.
This is NOT a 0.85 regression
In the same CI (Upgrade) run, the Calculator legs fail identically on both:
latest= 0.84.0 (the previous stable), andpreview= 0.85.0-preview.1 (the new one).
Because it fails the same way on the old version too, the 0.85 upgrade did not introduce this. It is a pre-existing infrastructure gap on the agents.
Corroborating evidence that it's the agents (not the code):
- Building the committed Calculator/fabric sample locally (RN 0.85.3 + [email protected], Fabric / New Arch) succeeds in both Debug and Release (x64) — builds, deploys, launches, and renders the full UI. No
MSB8036/ SDK-22621 error, because the local machine has SDK 22621 installed. - The Native Module sample (cpp-lib) is 100% green in the same CI run (including all preview legs) — it doesn't pin SDK 22621, so it isn't affected.
Evidence / where to look
- Pipeline: CI (Upgrade) — Sample Apps upgrade run.
- Run:
30375278469(2026-07-28). - Result: 97 pass / 48 fail. All 48 failures are Calculator legs (cppwinrt / csharp / fabric). Every Native Module (cpp-lib) leg passed.
- Error on failing legs:
MSB8036: The Windows SDK version 10.0.22621.0 was not found. - Agent image: VS 2026 / Windows Server 2025 agents (these images ship SDK 10.0.26100 but not 10.0.22621).
Impact
- CI (Upgrade) shows red for Calculator legs, which is noise on the 0.85 release checklist and can mask real regressions.
- No end-user / runtime impact — the shipped Calculator sample builds and runs correctly for anyone whose SDK matches.
Suggested fixes (pick one)
- Install Windows SDK 10.0.22621.0 on the CI (Upgrade) agents (restores parity with what the sample targets), or
- Retarget the Calculator sample (and/or the upgrade template) to an SDK version the agents already have (e.g., 10.0.26100.0), so it no longer depends on 22621.
Option 1 is the smaller change and keeps the sample as-is; option 2 removes the dependency on a specific older SDK going forward.
Notes
- Filed as a follow-up from the 0.85 release validation (tracking issue #16312). Documented there under sample-app CI, now broken out into this dedicated issue so the CI/agent owners can pick it up.
- Not a 0.85 blocker.
- Lingua principale
- C++
- Stelle
- 17.4k
- Fork
- 1.2k
- Merge medio
- 2g 17h
- PR unite (30g)
- 13
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/react-native-windows
-
Fabric text is drawn with ClearType onto transparent composition surfaces, fringing thin glyphsApertaNeeds: Triage :mag:
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
microsoft/react-native-windows#16340 ·
I maintainer di solito rispondono entro 2 giorni
-
bug Needs: Triage :mag:
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
microsoft/react-native-windows#16321 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Needs: Triage :mag:
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
microsoft/react-native-windows#16442 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Fabric: activating the window doesn't announce the window or the focused control to a screen readerApertaNeeds: Triage :mag:
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
microsoft/react-native-windows#16435 ·
I maintainer di solito rispondono entro 2 giorni
-
bug Needs: Triage :mag:
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
microsoft/react-native-windows#16410 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di microsoft/react-native-windows
Issue simili
-
Status: Awaiting triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
espressif/arduino-esp32#12984 ·
I maintainer di solito rispondono entro 1 giorno
-
torch_ops/logprob.cu does not compile with the serving container's nvcc (13.3.73); check_torch_ops.py cannot run as shippedForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 72/100
ashhart/TensorFold#535 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno