dotnet/roslyn
View on GitHubSource generator warning duplication and missing link and description
Open
#69,826 opened on Sep 5, 2023
Area-IDEBughelp wanted
Repository metrics
- Stars
- (20,414 stars)
- PR merge metrics
- (Avg merge 6d 17h) (256 merged PRs in 30d)
Description
Version Used:
- Microsoft Visual Studio Enterprise 2022 (64-bit) - Preview Version 17.8.0 Preview 1.0
Steps to Reproduce:
- Clone/download https://github.com/kzu/SourceGeneratorWarning/
- Build once: a warning should appear, with a link, message and description
- Rebuild the Tests project. A duplicate warning missing the right link (takes you instead to a generic VS F1 help page) and missing the description is shown:
Expected Behavior:
Only one warning is ever shown, and it is consistent, showing the description and link as provided by the diagnostic descriptor.
Actual Behavior:
Duplicate warning, missing link and description.