Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[0.69] Disable RestoreUseStaticGraphEvaluation for VS >= 17.6 (#11691)
This PR backports #11681 to 0.69. (Note: Building 0.69 with VS 2022 is not officially supported.) ## Description This PR disables `RestoreUseStaticGraphEvaluation` if building within Visual Studio >= 17.6, which is not working in our project. Ideally we want `RestoreUseStaticGraphEvaluation` to improve the build speed. However this will unblock folk trying to build our code within the newest versions of Visual Studio. This does not impact building via MSBuild (i.e. using the `run-windows` CLI command). Resolves #11670 ### Type of Change - Bug fix (non-breaking change which fixes an issue) ### Why Unblock building with VS >= 17.6 Resolves #11670 ### What Adds a check for the version of VS to the condition setting `RestoreUseStaticGraphEvaluation`. ## Screenshots N/A ## Testing Verified I can build `Microsoft.ReactNative.sln` with VS 17.6 and 17.5.
- Loading branch information