Skip to content

Update Roslyn analyzer tutorial for modern Visual Studio project creation#51760

Open
Copilot wants to merge 4 commits intomainfrom
copilot/fix-solution-creation-instructions
Open

Update Roslyn analyzer tutorial for modern Visual Studio project creation#51760
Copilot wants to merge 4 commits intomainfrom
copilot/fix-solution-creation-instructions

Conversation

Copy link
Contributor

Copilot AI commented Feb 17, 2026

  • Update the outdated "Visual C# > Extensibility" navigation instructions in the "Create the solution" section
  • Replace with current instructions to search for "Analyzer" in the project template dialog
  • Ensure the instructions reflect the modern Visual Studio project creation experience
  • Fix UI element formatting: File > New > Project/Solution in how-to-write-csharp-analyzer-code-fix.md
Original prompt

This section details on the original issue you should resolve

<issue_title>Solution creation instructions are slightly incorrect</issue_title>
<issue_description>https://docs.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/tutorials/how-to-write-csharp-analyzer-code-fix#create-the-solution
The instructions tell you to search for the Extensibility section: Under Visual C# > Extensibility, choose Analyzer with code fix (.NET Standard).. In the updated project creation dialog, the section no longer exists. Projects could be filtered by the Extensions project type, but searching for Analyzers should result in the most specific results.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

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

@BillWagner Thanks for pointing this out @pranavkm

I've added it to our backlog to address in our next set of updates.</comment_new>


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


Internal previews

📄 File 🔗 Preview link
docs/csharp/roslyn-sdk/tutorials/how-to-write-csharp-analyzer-code-fix.md docs/csharp/roslyn-sdk/tutorials/how-to-write-csharp-analyzer-code-fix

…tion path

Co-authored-by: meaghanlewis <10103121+meaghanlewis@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix solution creation instructions for analyzers Update Roslyn analyzer tutorial for modern Visual Studio project creation Feb 17, 2026
Copilot AI requested a review from meaghanlewis February 17, 2026 18:56
@meaghanlewis meaghanlewis marked this pull request as ready for review February 17, 2026 20:09
@meaghanlewis meaghanlewis requested review from a team and BillWagner as code owners February 17, 2026 20:09
Copilot AI review requested due to automatic review settings February 17, 2026 20:09
Copy link
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 updates the Roslyn analyzer tutorial to reflect modern Visual Studio's project creation workflow. The original issue (#26719) reported that navigation instructions using "Visual C# > Extensibility" no longer work in current Visual Studio versions. The PR addresses this by replacing hierarchical navigation with a search-based approach, which is the current standard for finding project templates in Visual Studio.

Changes:

  • Updated project creation instructions to use search box instead of obsolete navigation paths
  • Modernized documentation style throughout the tutorial (active voice, contractions, present tense)
  • Updated Visual Studio version requirements to be more generic
  • Added installation instructions for .NET Compiler Platform SDK with "Modify" button steps

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
includes/roslyn-installation.md Added explicit "Modify" button selection steps to SDK installation instructions (contains spelling errors)
docs/csharp/roslyn-sdk/tutorials/how-to-write-csharp-analyzer-code-fix.md Updated project creation instructions to use search-based approach; modernized writing style throughout the tutorial; updated date and Visual Studio prerequisites

Co-authored-by: meaghanlewis <10103121+meaghanlewis@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Solution creation instructions are slightly incorrect

2 participants

Comments