[main] Bump Microsoft.CodeAnalysis from 3.11.0 to 5.9.0 - #10619
[main] Bump Microsoft.CodeAnalysis from 3.11.0 to 5.9.0#10619dependabot[bot] wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Pull request overview
Note
Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.
Updates the centrally managed Roslyn (Microsoft.CodeAnalysis) version used across the repo.
Changes:
- Bumped
MicrosoftCodeAnalysisVersionfrom3.11.0to5.9.0.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| <MicrosoftCodeAnalysisVersionForTests>4.10.0</MicrosoftCodeAnalysisVersionForTests> | ||
| <MicrosoftCodeAnalysisVersionForSourceGen>4.8.0</MicrosoftCodeAnalysisVersionForSourceGen> |
🔍 Build Failure AnalysisSummary — All 9 build legs fail identically during NuGet restore with Root cause 1:
|
| Code | Project | Message |
|---|---|---|
NU1605 |
MSTest.Analyzers.csproj |
Downgrade: Microsoft.CodeAnalysis.Analyzers from 5.9.0-1.26328.17 to 5.6.0 (via Microsoft.CodeAnalysis.Common 5.9.0) |
NU1605 |
MSTest.Analyzers.CodeFixes.csproj |
Downgrade: Microsoft.CodeAnalysis.Analyzers from 5.9.0-1.26328.17 to 5.6.0 (via Microsoft.CodeAnalysis.CSharp.Workspaces 5.9.0) |
🤖 Generated by the Build Failure Analysis workflow using binlog-mcp · commit a4d8232
🤖 Automated content by GitHub Copilot. Generated by the Build Failure Analysis workflow. · auto · 61.8 AIC · ⌖ 2.08 AIC · ⊞ 11.6K · [◷]( · ◷)
There was a problem hiding this comment.
🤖 Automated content by GitHub Copilot. Generated by the Build Failure Analysis workflow. · auto · 61.8 AIC · ⌖ 2.08 AIC · ⊞ 11.6K · ◷
| <AspireHostingTestingVersion>13.4.6</AspireHostingTestingVersion> | ||
| <MicrosoftBuildVersion>17.11.48</MicrosoftBuildVersion> | ||
| <MicrosoftCodeAnalysisVersion>3.11.0</MicrosoftCodeAnalysisVersion> | ||
| <MicrosoftCodeAnalysisVersion>5.9.0</MicrosoftCodeAnalysisVersion> |
There was a problem hiding this comment.
🔧 NU1605 — MicrosoftCodeAnalysisVersion is being bumped to 5.9.0 here, but the separately-pinned Microsoft.CodeAnalysis.Analyzers PackageVersion (elsewhere in this file, currently 5.6.0) is now lower than the >= 5.9.0-1.26328.17 required transitively by Microsoft.CodeAnalysis.Common/Microsoft.CodeAnalysis.CSharp.Workspaces 5.9.0. This causes an NU1605 downgrade error (promoted to a hard error) on every build leg. Raise the Microsoft.CodeAnalysis.Analyzers PackageVersion to 5.9.0 as well.
| <MicrosoftCodeAnalysisVersion>5.9.0</MicrosoftCodeAnalysisVersion> | |
| <MicrosoftCodeAnalysisVersion>5.9.0</MicrosoftCodeAnalysisVersion> |
--- updated-dependencies: - dependency-name: Microsoft.CodeAnalysis dependency-version: 5.9.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
a4d8232 to
d8a40e2
Compare
|
One or more custom setup steps configured for this repository failed during this Copilot code review run: Setup steps run before each review. If the review above is missing context, or no review was posted at all, the failing step above may be the cause. See the workflow run for failure details, fix your setup steps configuration, and re-request a review. Note You can configure setup steps for Copilot code review separately from Copilot cloud agent with a |
|
Closing because this update is not safe for the shipping MSTest analyzers. The current CI run fails restore across all build legs with More importantly, the changed property is used to compile the analyzer and code-fix DLLs shipped in The shipping analyzer baseline should remain on Roslyn 3.11 unless dropping those Visual Studio versions is an explicit product decision. A newer Roslyn version needed only for development should use a separate version override. |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Updated Microsoft.CodeAnalysis from 3.11.0 to 5.9.0.
Release notes
Sourced from Microsoft.CodeAnalysis's releases.
5.0.4
Release
5.0.2
Release Notes
Install Instructions
Repos
5.0.1
Release Notes
Install Instructions
Repo
4.2.0-4.22266.5
Release
4.2.0-3.22151.16
Release
4.2.0-1.22108.11
Release
4.0.0-2.21354.7
Release
4.0.0-2.21254.26
Release
4.0.0-1.21277.15
Release
Commits viewable in compare view.