C#C
C#3y ago
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
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...
Was this page helpful?