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 S.D.DS version rule on .NET 7.0 #2960

Merged
merged 5 commits into from
Sep 15, 2023

Conversation

pjanotti
Copy link
Contributor

Why

Fix #2950

What

Per SIG conversation:

Removed the rule checking directly for S.D.DS version and added S.D.DS version validation to the rule checking versions of other libraries directly referenced by the entry assembly. The rule in question was renamed to AssemblyFileVersionCheck since now it is not covering only instrumentation libraries.

Tests

Manually validated that the new rule is working as intended against .NET 7.0.

Checklist

  • CHANGELOG.md is updated.
    - [ ] Documentation is updated.
    - [ ] New features are covered by tests.

@pjanotti pjanotti requested a review from a team September 14, 2023 23:13
@github-actions github-actions bot requested a review from theletterf September 14, 2023 23:13
@nrcventura nrcventura merged commit 376a56b into open-telemetry:main Sep 15, 2023
28 checks passed
@pjanotti pjanotti deleted the fix-s.d.ds-version-rule branch September 15, 2023 00:12
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.

Rule checking System.Diagnostics.DiagnosticSource version for net7.0 failing on correct configuration
3 participants