Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React Native Config for windows not working #832

Open
EzioAuditore12 opened this issue Mar 17, 2025 · 0 comments
Open

React Native Config for windows not working #832

EzioAuditore12 opened this issue Mar 17, 2025 · 0 comments

Comments

@EzioAuditore12
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant