Calculator sample CI (Upgrade) legs fail with MSB8036: Windows SDK 10.0.22621.0 not found on build agents
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 52/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Lĩnh vực
- build-system, ci-cd, devops
Hướng nghiên cứu
Kiểm tra pipeline CI (Upgrade) của sample-app và dự án Calculator hoặc template upgrade để xác định nơi SDK 10.0.22621.0 được yêu cầu; so sánh yêu cầu đó với image agent VS 2026/Windows Server 2025. Chạy lại các job cppwinrt, csharp và fabric của Calculator sau thay đổi đã chọn đối với môi trường hoặc targeting; hoàn tất khi chúng pass mà không có MSB8036.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C++
- Star
- 17.4k
- Fork
- 1.2k
- Merge trung bình
- 2 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 13
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/react-native-windows
-
Fabric text is drawn with ClearType onto transparent composition surfaces, fringing thin glyphsĐang mởNeeds: Triage :mag:
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
microsoft/react-native-windows#16340 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug Needs: Triage :mag:
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
microsoft/react-native-windows#16321 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Needs: Triage :mag:
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
microsoft/react-native-windows#16442 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Fabric: activating the window doesn't announce the window or the focused control to a screen readerĐang mởNeeds: Triage :mag:
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
microsoft/react-native-windows#16435 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug Needs: Triage :mag:
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
microsoft/react-native-windows#16410 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của microsoft/react-native-windows
Issue tương tự
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
flashinfer-ai/flashinfer#6212 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug graphics
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
FlaxEngine/FlaxEngine#4295 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Algorithmiq/monoprop#390 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
8-membered-ring atrop stereo lost in 2026.09.1Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 2 ngày