Skip to content

Don't show Razor diagnostics in Full Solution Analysis#80296

Merged
davidwengier merged 3 commits intodotnet:mainfrom
davidwengier:NoRazorDiagsInFSA
Sep 16, 2025
Merged

Don't show Razor diagnostics in Full Solution Analysis#80296
davidwengier merged 3 commits intodotnet:mainfrom
davidwengier:NoRazorDiagsInFSA

Conversation

@davidwengier
Copy link
Member

Bug: microsoft/vscode-dotnettools#1941

The LSP editor did strange things with client names in order to not report diagnostics at all, but for cohosting that doesn't work as we want diagnostics when Razor calls to get them, so filtering out specifically in FullSolutionAnalysisDiagnosticSource seemed appropriate.

@davidwengier davidwengier requested a review from a team as a code owner September 16, 2025 07:08
Copy link
Contributor

@CyrusNajmabadi CyrusNajmabadi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable. perhaps a test somewhere?

…ces/AbstractWorkspaceDocumentDiagnosticSource.cs
…ces/AbstractWorkspaceDocumentDiagnosticSource.cs
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.

4 participants