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

Fix analyzer consistency checks #64831

Merged
merged 1 commit into from
Oct 20, 2022
Merged

Fix analyzer consistency checks #64831

merged 1 commit into from
Oct 20, 2022

Conversation

jaredpar
Copy link
Member

Issue #64826 outlines the core problem the analyzer consistency check is hitting here and rationale for changing it. In short though this changes our analyzer consistency check in the following ways:

  1. It no longer applies on .NET Core. Analyzers get their own AssemblyLoadContext hence dependency consistency is not an issue
  2. Do not fail consistency check when a dependency is loaded from the GAC
  3. Do not fail consistency check when a dependency is loaded from the compiler directory

closes #64826

Issue dotnet#64826 outlines the core problem the analyzer consistency check is
hitting here and rationale for changing it. In short though this changes
our analyzer consistency check in the following ways:

1. It no longer applies on .NET Core. Analyzers get their own
   `AssemblyLoadContext` hence dependency consistency is not an issue
2. Do not fail consistency check when a dependency is loaded from the
   GAC
3. Do not fail consistency check when a dependency is loaded from the
   compiler directory

closes dotnet#64826
@jaredpar jaredpar requested a review from a team as a code owner October 19, 2022 19:08
@jaredpar
Copy link
Member Author

@dotnet/roslyn-compiler PTAL

@jaredpar jaredpar added this to the 17.5 milestone Oct 19, 2022
@RikkiGibson RikkiGibson self-assigned this Oct 20, 2022
@jaredpar jaredpar merged commit 158ba3a into dotnet:main Oct 20, 2022
@jaredpar jaredpar deleted the fix-64826 branch October 20, 2022 16:57
@ghost ghost modified the milestones: 17.5, Next Oct 20, 2022
@RikkiGibson RikkiGibson modified the milestones: Next, 17.5 P1 Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Analyzer consistency check should not consider MVID on .NET Core
3 participants