dotnet / dotnet/vscode-csharp

Diagnostics for full solution do not work

Open
#8,355 4 comments 1 reaction 1 assignee Claimed by @JoeRobich View on GitHub
Bug Editor-Diagnostics Needs Investigation
Dominant language
TypeScript
Stars
3.1k
Forks
737
Avg merge
17h 56m
Merged PRs (30d)
21

Description

## Issue Description

Modify dotnet.backgroundAnalysis.compilerDiagnosticsScope to "fullSolution", but only show openFiles

project state

"dotnet.server.useOmnisharp": false,

![Image](https://github.com/user-attachments/assets/32399940-2d32-4687-81d8-4eef4c92309e)

"dotnet.server.useOmnisharp": true,

![Image](https://github.com/user-attachments/assets/5a461c7b-7584-4a2d-8527-76625c318a90)

## Environment data
`dotnet --info` output:

[dotnet info.txt](https://github.com/user-attachments/files/20653161/dotnet.info.txt)

VS Code version: 1.100.3
C# Extension version: 2.80.16

## C# logs

[c# load project.log](https://github.com/user-attachments/files/20653162/c.load.project.log)

[c# open file.log](https://github.com/user-attachments/files/20653164/c.open.file.log)

[c# close file.log](https://github.com/user-attachments/files/20653165/c.close.file.log)

[C# LSP.log](https://github.com/user-attachments/files/20653167/C.LSP.log)

## Steps to reproduce

[TestConsole.zip](https://github.com/user-attachments/files/20653123/TestConsole.zip)

## Expected behavior

https://github.com/user-attachments/assets/06b63b1e-22da-49ef-b38b-ebe2936e6f96

## Actual behavior

https://github.com/user-attachments/assets/4f143dfd-4e77-4c40-ac32-25c7826bc022

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.