Skip to content

Remove analyzer PackageReferences from Directory.Build.props#127

Merged
Chris-Wolfgang merged 2 commits into
mainfrom
fix/remove-analyzers-from-directory-build-props
Apr 8, 2026
Merged

Remove analyzer PackageReferences from Directory.Build.props#127
Chris-Wolfgang merged 2 commits into
mainfrom
fix/remove-analyzers-from-directory-build-props

Conversation

@Chris-Wolfgang
Copy link
Copy Markdown
Owner

Summary

  • Removes the 6 analyzer PackageReferences (Roslynator, AsyncFixer, Threading.Analyzers, BannedApiAnalyzers, Meziantou, SonarAnalyzer) from Directory.Build.props
  • Retains PropertyGroup settings (EnableNETAnalyzers, AnalysisLevel, etc.) and BannedSymbols.txt AdditionalFiles
  • Prepares for a follow-up PR that adds these analyzers to individual csproj files instead

Test plan

  • Verify Directory.Build.props still contains PropertyGroup and BannedSymbols.txt ItemGroup
  • Verify analyzer PackageReferences are fully removed

🤖 Generated with Claude Code

Prepares for a follow-up PR which adds these analyzers to individual csproj files instead.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes repository-wide analyzer PackageReferences from Directory.Build.props while keeping the general analyzer-related PropertyGroup settings and the BannedSymbols.txt AdditionalFiles entry, with the stated intent to re-add analyzers per-project in a follow-up.

Changes:

  • Removed six analyzer PackageReferences (Roslynator, AsyncFixer, Threading.Analyzers, BannedApiAnalyzers, Meziantou, SonarAnalyzer) from Directory.Build.props.
  • Retained shared analyzer configuration properties (EnableNETAnalyzers, AnalysisLevel, etc.).
  • Kept BannedSymbols.txt included as an AdditionalFiles item.

Comment thread Directory.Build.props
Comment thread Directory.Build.props Outdated
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Chris-Wolfgang Chris-Wolfgang merged commit 8095d55 into main Apr 8, 2026
8 of 9 checks passed
@Chris-Wolfgang Chris-Wolfgang deleted the fix/remove-analyzers-from-directory-build-props branch April 8, 2026 02:08
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