© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
1 reply
Alexicon

❔ Debugging Roslyn Components in newer visual studio versions?

How do you now debug a Roslyn component project for source generators in Visual Studio with the newest releases?

You used to be able to do the following: https://github.com/JoanComasFdz/dotnet-how-to-debug-source-generator-vs2022

However now I am getting the error in the attached image with a newer version of visual studio. I have not made any code/project changes since the last time I ran this project so the only change is the version of visual studio I am using.
image.png
GitHub
GitHub - JoanComasFdz/dotnet-how-to-debug-source-generator-vs2022: ...
Step by step guide on how to debug a C# SourceGenerator in Visual Studio 2022 - GitHub - JoanComasFdz/dotnet-how-to-debug-source-generator-vs2022: Step by step guide on how to debug a C# SourceGene...
GitHub - JoanComasFdz/dotnet-how-to-debug-source-generator-vs2022: ...
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Basic Visual Studio Debugging
C#CC# / help
3y ago
✅ Tips Debugging in Visual Studio Community
C#CC# / help
3mo ago
❔ Advice on Blazor+TypeScript debugging in Visual Studio
C#CC# / help
3y ago
Debugging of visual studio assembly loading for template
C#CC# / help
5mo ago