Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 21, 2025

Dependabot PR #1007 attempted to update Roslyn packages (Microsoft.CodeAnalysis.CSharp 4.8.0→5.0.0, Microsoft.CodeAnalysis.Analyzers 3.3.4→3.11.0). The PR was closed to maintain Visual Studio 2022 compatibility with source generators.

Changes

  • Added Microsoft.CodeAnalysis.* to dependabot ignore list in .github/dependabot.yml
  • Wildcard pattern covers both Microsoft.CodeAnalysis.CSharp and Microsoft.CodeAnalysis.Analyzers

This prevents future automatic PRs for these dependencies while maintaining the current versions required for VS 2022 compatibility.

Original prompt

This section details on the original issue you should resolve

<issue_title>Add Roslyn libraries to the list of dependabot exceptions</issue_title>
<issue_description>OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

Originally posted by @dependabot[bot] in #1007 (comment)
</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Add Roslyn libraries to dependabot exceptions Add Microsoft.CodeAnalysis.* to dependabot ignore list Nov 21, 2025
Copilot AI requested a review from eiriktsarpalis November 21, 2025 15:08
@eiriktsarpalis eiriktsarpalis marked this pull request as ready for review November 21, 2025 16:25
@stephentoub
Copy link
Contributor

Are we going to remember to bump these whenever it's appropriate to do so?

@eiriktsarpalis
Copy link
Member

Are we going to remember to bump these whenever it's appropriate to do so?

We only have to assuming we want to consume some new Roslyn feature. If/when that happens, we can have a conversation about what minimum version of VS we'd want to support.

@eiriktsarpalis eiriktsarpalis merged commit 50370b7 into main Nov 21, 2025
4 checks passed
@eiriktsarpalis eiriktsarpalis deleted the copilot/add-roslyn-libraries-exceptions branch November 21, 2025 17:34
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.

Add Roslyn libraries to the list of dependabot exceptions

3 participants