0.77 Build Error - LNK1161 Cannot Open İnput File Error #14358
Labels
bug
Developer First Experience
Issues that are going to be hit by a new developer as they first try out RNW
New Architecture
Broad category for issues that apply to the RN "new" architecture of Turbo Modules + Fabric
Scenario: NuGet
Workstream: New Arch NuGet Refactor
Create new architecture NuGet packages that exclude old architecture types and dependencies.
Milestone
Problem Description
I downloaded the Fabric Calculator example. Then I added the npm packages I needed to it. I can build my project on the Android emulator without any problems. However, I could not run it on windows in any way. I have been trying to solve the problem for days.
The error I get:
:heavy_multiplication_x: Building Solution :heavy_multiplication_x: Build failed with message LINK : fatal error LNK1181: cannot open input file 'C:\Users\kyilmaz\.nuget\packages\microsoft.windowsappsdk\1.6.240923002\buildTransitive\native\..\..\lib\win10-\Microsoft.WindowsAppRuntime.Bootstrap.lib' [C:\Users\kyilmaz\Desktop\kiosk\node_modules\react-native-windows\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj]. Check your build configuration.
Steps To Reproduce
Download Fabric Calculator sample
Add some npm packages
yarn windows (
npx @react-native-community/cli run-windows
)error
Expected Results
succesfull build
CLI version
15.0.1
Environment
Community Modules
"@react-native-async-storage/async-storage": "^2.1.0",
"@react-native-community/netinfo": "^11.4.1",
"@react-navigation/elements": "^2.2.5",
"@react-navigation/native": "^7.0.14",
"@react-navigation/native-stack": "^7.2.0",
"@reduxjs/toolkit": "^2.5.0",
"@tanstack/react-query": "^5.64.2",
"axios": "^1.7.9",
"babel-plugin-inline-dotenv": "^1.7.0",
"date-fns": "^4.1.0",
"lottie-react-native": "^7.2.2",
"react": "18.3.1",
"react-native": "0.77.0",
"react-native-device-info": "^14.0.2",
"react-native-gesture-handler": "^2.22.0",
"react-native-reanimated": "^3.16.7",
"react-native-safe-area-context": "^5.2.0",
"react-native-screens": "^4.6.0",
"react-native-svg": "^15.11.1",
"react-native-windows": "^0.77.0",
"react-redux": "^9.2.0",
"redux-persist": "^6.0.0",
"zod": "^3.24.1"
Target Platform Version
10.0.22000
Target Device(s)
Desktop
Visual Studio Version
Visual Studio 2022
Build Configuration
Debug
Snack, code example, screenshot, or link to a repository
:heavy_multiplication_x: Building Solution :heavy_multiplication_x: Build failed with message LINK : fatal error LNK1181: cannot open input file 'C:\Users\kyilmaz\.nuget\packages\microsoft.windowsappsdk\1.6.240923002\buildTransitive\native\..\..\lib\win10-\Microsoft.WindowsAppRuntime.Bootstrap.lib' [C:\Users\kyilmaz\Desktop\kiosk\node_modules\react-native-windows\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj]. Check your build configuration.
The text was updated successfully, but these errors were encountered: