Add multi-Roslyn analyzer build infrastructure#216
Closed
Copilot wants to merge 1 commit intoroslyn-configs/mainfrom
Closed
Add multi-Roslyn analyzer build infrastructure#216Copilot wants to merge 1 commit intoroslyn-configs/mainfrom
Copilot wants to merge 1 commit intoroslyn-configs/mainfrom
Conversation
Copilot
AI
changed the title
[WIP] Implement feature described in issue #210
Add multi-Roslyn analyzer build infrastructure
Feb 15, 2026
Author
This PR is stacked on top of the |
17 tasks
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DocoptNet's source generator needs to ship with both Roslyn 3.10 (baseline compatibility) and Roslyn 4.4 (C# 11+ support) analyzers in a single NuGet package. The .NET SDK selects the appropriate variant based on the consumer's environment.
Changes
Project Configuration (
src/DocoptNet/DocoptNet.csproj)RoslynVersionMSBuild property to conditionally switchMicrosoft.CodeAnalysis.CSharpreferences (3.10.0 → 4.4.0)bin/roslyn4.4/,obj/roslyn4.4/)analyzers/dotnet/roslyn3.10/csandanalyzers/dotnet/roslyn4.4/csBuild Orchestration (
build.ps1)CI Updates (
.github/workflows/ci.yml)build.ps1dotnet test)Documentation (
README.md)build.ps1usage examples for Build/Test/Pack workflowsdotnet packalone will fail by designUsage
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/graphql/usr/bin/gh gh issue view 210 --json title,body,comments --jq {title: .title, body: .body, comments: [.comments[] | {author: .author.login, body: .body}]}(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.