WindowsAppSDK 1.7.x breaks React Native Windows build (LNK1104 – win10- path bug)
Maintainer thường phản hồi trong vòng 2 ngày
@vineethkuttan đang làm issue này rồi.
Từ ngày 27/1/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Problem Description
React Native Windows build fails due to an invalid library path generated by
Microsoft.WindowsAppSDK 1.7.x.
The build system resolves this path incorrectly:
lib\win10-\Microsoft.WindowsAppRuntime.Bootstrap.lib
Architecture value is missing (win10- instead of win10-x64),
which causes a linker failure.
Downgrading WindowsAppSDK to 1.6.x fixes the issue.
Steps To Reproduce
Steps To Reproduce *
Create new project
npx react-native init RNWinTest
Add Windows support
npx react-native-windows init-windows
Build
npx react-native run-windows --arch x64
Build fails with LNK1104 error.
Expected Results
Build should complete successfully and launch the app.
Expected correct path:
lib\win10-x64\Microsoft.WindowsAppRuntime.Bootstrap.lib
CLI version
@react-native-community/cli: 20.0.0
Environment
OS: Windows 11 (x64)
Node: v22.x (via NVM)
Yarn: latest
React Native: 0.81.5
React Native Windows: 0.81.2
Windows App SDK (NuGet): 1.7.250401001
Windows App Runtime (system): 1.8.4 (x64)
Community Modules
react-native-gesture-handler
react-native-reanimated
react-navigation
axios
react-native-screens
Target React Native Architecture
New Architecture (WinAppSDK) Only
Target Platform Version
= 10.0.26100
Visual Studio Version
Visual Studio 2022
Build Configuration
Debug
Snack, code example, screenshot, or link to a repository
Minimal repro:
npx react-native init RNWinTest npx react-native-windows init-windows npx react-native run-windows --arch x64
Error:
LINK : fatal error LNK1104: lib\win10-\Microsoft.WindowsAppRuntime.Bootstrap.lib
- 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ự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
EsotericSoftware/spine-runtimes#3186 ·
-
An empty line splits a signature where an ordinary comment is right above an argument's HaddockĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
mrkkrp/tilia#213 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Round video messages start gray and blocky with libx264: encoder is configured for 1,000,000 fpsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
telegramdesktop/tdesktop#31422 ·
Maintainer thường phản hồi trong vòng 9 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 5 ngày