Skip to content

fix: align production Roslyn package versions - #539

Open
BenjaminMichaelis wants to merge 1 commit into
mainfrom
fix/align-roslyn-versions
Open

BenjaminMichaelis wants to merge 1 commit into
mainfrom
fix/align-roslyn-versions

Conversation

@BenjaminMichaelis

Copy link
Copy Markdown
Member

Summary

  • Remove production-only Roslyn version overrides so analyzer projects use the centrally managed 5.6.0 versions, matching tests.

Validation

  • Analyzer and test projects build successfully.
  • Test execution is unavailable in this environment because .NET 8, 9, and 10 runtimes are not installed.

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 20, 2026 06:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Roslyn 5.6.0 dependencies prevent the analyzer from loading on supported .NET 8/9 compiler hosts and code fixes from loading in older IDE hosts, disabling diagnostics and fixes.

1 open issue
What changed in this PR

This PR aligns the analyzer and code-fix projects with the centrally managed Roslyn 5.6.0 packages already used by tests.

Changes:

  • Removes the analyzer’s Roslyn 4.8.0 version override.
  • Removes the code-fix project’s Workspaces 4.8.0 version override.
File Description
IntelliTect.Analyzer/​IntelliTect.Analyzer/​IntelliTect.Analyzer.csproj Uses the central Microsoft.CodeAnalysis.CSharp version.
IntelliTect.Analyzer/​IntelliTect.Analyzer.CodeFixes/​IntelliTect.Analyzer.CodeFixes.csproj Uses the central Microsoft.CodeAnalysis.CSharp.Workspaces version.

Review effort: Balanced

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" PrivateAssets="all" VersionOverride="4.8.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" PrivateAssets="all" />

This branch has not been deployed

No deployments
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