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

Change the priority order of lazyloading #9744

Merged

Conversation

f-alizada
Copy link
Contributor

Fixes #9736

Context

During the improvement of item evalution #9047, the MsBuildSkipEagerWildCardEvaluationRegexes variable was skipped for some cases: When the exclude was defined with MsBuildSkipEagerWildCardEvaluationRegexes. It resulted the listing of the non needed file (according to lazyload)

Changes Made

Changed the priority of the lazyLoading regex. Firstly it will compare it and then will check if it is nowildcard file with no exclusions

Testing

Added failed scenario to existing test: LazyWildcardExpansionDoesNotEvaluateWildCardsIfNotReferenced.

Notes

@YuliiaKovalova
Copy link
Member

It looks good, thank you!

Copy link
Member

@ladipro ladipro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Copy link
Member

@rainersigwald rainersigwald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@rainersigwald rainersigwald added this to the VS 17.10 milestone Feb 15, 2024
@f-alizada f-alizada merged commit d68cc3a into dotnet:main Feb 15, 2024
8 checks passed
@f-alizada f-alizada deleted the dev/f-alizada/lazy-wildcard-evaluation branch June 14, 2024 10:04
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.

MsBuildSkipEagerWildCardEvaluationRegexes not respected
4 participants