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

Migrate Analyzer- and Analyzer-Tests-Infra-refactoring to main branch. #13112

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KlausLoeffelmann
Copy link
Member

@KlausLoeffelmann KlausLoeffelmann commented Mar 11, 2025

This is the refactoring, adjusted for .NET 10, which results from the .NET 9 REL PR.
Note: There are not any fixes in here (as there are not in the .NET 9 Rel PR), since I wanted to separate the actual fixes from the restructuring.

The restructuring seems like a lot, but it's really an absolute low risk.
The reasons are:

  • In the "main" project, this PR did not do anything to the Analyzers, it just changed the folders where they live. The reason is, that the changes which need to come for the fixes (in 9REL) and for the add-ons (in 10Preview) bring things too close and while testing in 2 cases also OVER the maximum path length.

That was one of the reasons, I took the risk to move the pure folder restructuring to this PR, because it is NOT affecting the runtime in any way, and secondly, it's then only the test infra and where the original Analyzers life, which changed.

A note to the NuGet updates:
Same story, it's ONLY affecting the tests. But we need to do a better job in the future, because we're waiting too long to bring the supporting test packages along. Note, that I know, that in some cases breaking changes in those Test-support NuGets make it necessary that the test code needs to change. But, well, the longer we wait...you get my drift.

Microsoft Reviewers: Open in CodeFlow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
draft draft PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant