Skip to content

React Native Config for windows not working #832

@EzioAuditore12

Description

@EzioAuditore12

I was recently trying to integrate react-native-config in my windows desktop application but unable to integrate it due to unable to understand the docs , it is mentioned auto link but when I install it , it gives me this error

I wanted a proper setup of react-native-config in my windows-sdk setup

PS C:\Users\daksh\WintT> npx react-native run-windows
 MSBuild version 17.13.19+0d9f5a35a for .NET Framework
Build started 17-03-2025 08:18:01.

Project "C:\Users\daksh\WintT\windows\WintT.sln" on node 1 (R
estore target(s)).
ValidateSolutionConfiguration:
  Building solution configuration "Debug|x64".
_GetAllRestoreProjectPathItems:
  Determining projects to restore...
Restore:
  X.509 certificate chain validation will use the default tru 
  st store selected by .NET for code signing.
  X.509 certificate chain validation will use the default tru 
  st store selected by .NET for timestamping.
    CACHE https://api.nuget.org/v3/vulnerabilities/index.json
    CACHE https://api.nuget.org/v3-vulnerabilities/2025.03.12
  .23.21.10/vulnerability.base.json
    CACHE https://api.nuget.org/v3-vulnerabilities/2025.03.12
  .23.21.10/2025.03.16.23.21.25/vulnerability.update.json     
Done Building Project "C:\Users\daksh\WintT\windows\WintT.sln
" (Restore target(s)).


Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:00.85
√ Restoring NuGet packages
 √ Auto-linking...
Success: Auto-linking changes completed. (50ms)
 √ Found Solution: C:\Users\daksh\WintT\windows\WintT.sln     
 i Build configuration: Debug
 i Build platform: x64
 × Building Solution: C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft...        
 × Build failed with message C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.Cpp.WindowsSDK.targets(46,5): error MSB8036: The Windows SDK version 10.0.18362.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". [C:\Users\daksh\WintT\node_modules\react-native-config\windows\RNCConfig\RNCConfig.vcxproj]. Check your build configuration.
Command failed. Re-run the command with --logging for more information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions