Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

WindowsAppSDK 1.7.x breaks React Native Windows build (LNK1104 – win10- path bug)

オープン
#15,562 コメント 9 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

@vineethkuttan がすでに取り組んでいます。

2026年1月27日 から。

評価

この issue はまだ評価されていません。

説明

bug
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

主要言語
C++
スター
17.4k
フォーク
1.2k
平均マージ
2日 23時間
マージ済み PR(30日)
16

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/react-native-windows のほかの issue

microsoft/react-native-windows の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。