Skip to content

Projects with this package fail to build for Windows #3589

@Nezz

Description

@Nezz

Description

Projects with the react-native-screens package fail to build for windows:

fatal error LNK1104: cannot open file 'C:\Users<username>.nuget\packages\microsoft.windowsappsdk\1.7.250401001\buildTransitive\native....\lib\win10-\Microsoft.WindowsAppRuntime.Bootstrap.lib' [RNWinRepro\node_modules\react-native-windows\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj]. Check your build configuration.

Steps to reproduce

Run the following scripts to create a new project with this package:

npx --yes @react-native-community/cli@latest init RNWinRepro --version 0.81.2
cd RNWinRepro 
yarn add [email protected]
yarn add @react-native-async-storage/async-storage
npx react-native init-windows --overwrite
npx react-native run-windows

Snack or a link to a repository

See minimal repro

Screens version

4.20.0

React Native version

0.81.2

Platforms

Windows

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Missing reproThis issue need minimum repro scenarioPlatform: WindowsThis issue is specific to Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions