You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Latest Windows SDK version seems to be used for Windows package build and release.
This forces user to use the latest version as well.
A variable in the build should be available to set it to a version compatible for most users.
The text was updated successfully, but these errors were encountered:
More context:
All projects using c++ code need to use the same cppwinrt version. Otherwise, linking erros will popup.
For example, RNPermissions was not using the cppwinrt version used for RNW until this PR : https://github.com/zoontek/react-native-permissions/pull/860/files
BRN RNTA build is more explicit
run: cmake -G "Visual Studio 16 2019" -D CMAKE_SYSTEM_NAME=WindowsStore -D CMAKE_SYSTEM_VERSION=10.0.19041.0 -DCMAKE_UNITY_BUILD=true -D CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM=10.0.19041.0 -A x64 ./../../../react-native-windows/windows
But next RNW version might change that number and if a user project is using a different version, then nothing will work.
One solution might be to package a .dll of BRN instead. This way, PDB might be packaged as well.
Latest Windows SDK version seems to be used for Windows package build and release.
This forces user to use the latest version as well.
A variable in the build should be available to set it to a version compatible for most users.
The text was updated successfully, but these errors were encountered: