dotnet / dotnet/project-system
Unable to debug source generator: "The project doesn't know how to run the profile '<name>' with command 'DebugRoslynComponent'"
- Dominant language
- C#
- Stars
- 1k
- Forks
- 415
- PR merge metrics
- No merged PRs in 30d
Description
## Visual Studio Version
2022.17.11.4 (Community edition)
## Summary
As title.
Suspect that the work done in https://github.com/dotnet/roslyn-sdk/pull/896 for https://github.com/dotnet/roslyn-sdk/issues/850 has either been reverted or broken.
## Steps to Reproduce
1. Clone https://github.com/riok/mapperly
2. Attempt to debug source generator in Visual Studio by following https://mapperly.riok.app/docs/contributing/debugging/#integration-tests
3. Get error

Creating a new "Roslyn Component" launch profile is also not possible, as that option is missing from the "Launch Profiles" UI

## Expected Behavior
Source generator debugging works
## Actual Behavior
Source generator debugging does not work
## User Impact
Can't debug source generators
Contributor guide
Assessment
This issue has not been assessed yet.