-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[0.70] Disable RestoreUseStaticGraphEvaluation for VS >= 17.6 (#11690)
This PR backports #11681 to 0.70.0 ## 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
1 parent
480684e
commit 5e2a21e
Showing
3 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/react-native-windows-6e318099-e71b-442b-952f-ee0dce881d46.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "patch", | ||
"comment": "[0.70] Disable RestoreUseStaticGraphEvaluation for VS >= 17.6", | ||
"packageName": "react-native-windows", | ||
"email": "jthysell@microsoft.com", | ||
"dependentChangeType": "patch" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters