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

Remove usage of RestoreUseStaticGraphEvaluation #11509

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

JunielKatarn
Copy link
Contributor

@JunielKatarn JunielKatarn commented Apr 20, 2023

Description

Stop using experimental restore graph evaluation.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Why

Some apps consuming Microsoft.ReactNative have found issues when RestoreUseStaticGraphEvaluation is enabled (MSRN sets it automatically when building inside Visual Studio).

It seems the bug that caused an erratic build behavior inside Visual Studio 17.x is no longer happening as of version 17.5.
Such behavior was fixed by setting the property being removed by this PR.

What

Remove all instances where RestoreUseStaticGraphEvaluation is set to true.

Testing

Manually building inside Visual Studio.

Microsoft Reviewers: Open in CodeFlow

@JunielKatarn JunielKatarn requested review from a team as code owners April 20, 2023 19:21
@jonthysell
Copy link
Contributor

@JunielKatarn If this change requires VS >= 17.5, can you update the dependency checks to bump the min VS version? It's currently set to 17.3 in rnw-dependencies.ps1:84 and 17.0 in msbuildtools.ts:203.

@JunielKatarn
Copy link
Contributor Author

@JunielKatarn If this change requires VS >= 17.5, can you update the dependency checks to bump the min VS version? It's currently set to 17.3 in rnw-dependencies.ps1:84 and 17.0 in msbuildtools.ts:203.

Will do, though, I want to do more manual testing.
Reverting to DRAFT for now.

@JunielKatarn JunielKatarn marked this pull request as draft April 21, 2023 21:18
@jonthysell
Copy link
Contributor

What worked in 17.5 broke in 17.5. So maybe still worth removing all-up.

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

Successfully merging this pull request may close these issues.

2 participants