Skip to content

bug #9315

@hakin77

Description

@hakin77

Type: Bug

Issue Description

Steps to Reproduce

Expected Behavior

Actual Behavior

Extension version: 2.140.8
VS Code version: Code 1.120.0 (0958016b2af9f09bb4257e0df4a95e2f90590f9f, 2026-05-12T20:17:22Z)
OS version: Windows_NT x64 10.0.29580
Modes:
Remote OS version: Linux x64 6.6.114.1-microsoft-standard-WSL2

Logs

C# log

Details
2026-05-16 01:31:37.311 [info] Installing C# dependencies...
2026-05-16 01:31:37.311 [info] 

2026-05-16 01:31:37.311 [info] Platform: linux, x86_64, name=ubuntu, version=26.04

2026-05-16 01:31:37.311 [info] 

2026-05-16 01:31:37.311 [info] Downloading package 'Language server for Roslyn Copilot integration' 
2026-05-16 01:31:40.324 [info] (47 KB)
2026-05-16 01:31:40.324 [info] .......
2026-05-16 01:31:40.582 [info] .......
2026-05-16 01:31:40.655 [info] ......
2026-05-16 01:31:40.655 [info]  Done!

2026-05-16 01:31:40.656 [info] Validating download...

2026-05-16 01:31:40.656 [info] Integrity Check succeeded.

2026-05-16 01:31:40.656 [info] Installing package 'Language server for Roslyn Copilot integration'

2026-05-16 01:31:40.656 [info] 

2026-05-16 01:31:41.337 [info] Downloading package 'VSWebAssemblyBridge (Platform Agnostic)' 
2026-05-16 01:31:43.176 [info] (4143 KB)
2026-05-16 01:31:43.176 [info] .
2026-05-16 01:31:43.176 [info] 
2026-05-16 01:31:43.442 [info] 
2026-05-16 01:31:43.626 [info] 
2026-05-16 01:31:44.414 [info] 
2026-05-16 01:31:44.415 [info] .
2026-05-16 01:31:44.415 [info] 
2026-05-16 01:31:44.788 [info] 
2026-05-16 01:31:44.856 [info] 
2026-05-16 01:31:45.053 [info] 
2026-05-16 01:31:45.262 [info] .
2026-05-16 01:31:45.577 [info] 
2026-05-16 01:31:45.886 [info] 
2026-05-16 01:31:46.082 [info] 
2026-05-16 01:31:46.373 [info] 
2026-05-16 01:31:46.542 [info] .
2026-05-16 01:31:46.799 [info] 
2026-05-16 01:31:47.671 [info] 
2026-05-16 01:31:47.730 [info] 
2026-05-16 01:31:47.799 [info] 
2026-05-16 01:31:47.842 [info] .
2026-05-16 01:31:48.233 [info] 
2026-05-16 01:31:48.574 [info] 
2026-05-16 01:31:48.682 [info] 
2026-05-16 01:31:48.933 [info] 
2026-05-16 01:31:48.953 [info] .
2026-05-16 01:31:49.131 [info] 
2026-05-16 01:31:49.305 [info] 
2026-05-16 01:31:49.557 [info] 
2026-05-16 01:31:49.791 [info] 
2026-05-16 01:31:49.956 [info] .
2026-05-16 01:31:50.195 [info] 
2026-05-16 01:31:50.384 [info] 
2026-05-16 01:31:50.598 [info] 
2026-05-16 01:31:50.830 [info] 
2026-05-16 01:31:50.992 [info] .
2026-05-16 01:31:51.250 [info] 
2026-05-16 01:31:51.407 [info] 
2026-05-16 01:31:51.628 [info] 
2026-05-16 01:31:51.817 [info] 
2026-05-16 01:31:52.036 [info] .
2026-05-16 01:31:52.287 [info] 
2026-05-16 01:31:52.436 [info] 
2026-05-16 01:31:52.679 [info] 
2026-05-16 01:31:52.860 [info] 
2026-05-16 01:31:53.080 [info] .
2026-05-16 01:31:53.356 [info] 
2026-05-16 01:31:53.469 [info] 
2026-05-16 01:31:53.802 [info] 
2026-05-16 01:31:53.875 [info] 
2026-05-16 01:31:54.185 [info] .
2026-05-16 01:31:54.401 [info] 
2026-05-16 01:31:54.514 [info] 
2026-05-16 01:31:54.775 [info] 
2026-05-16 01:31:54.946 [info] 
2026-05-16 01:31:55.165 [info] .
2026-05-16 01:31:55.484 [info] 
2026-05-16 01:31:55.555 [info] 
2026-05-16 01:31:55.819 [info] 
2026-05-16 01:31:55.965 [info] 
2026-05-16 01:31:56.186 [info] .
2026-05-16 01:31:56.440 [info] 
2026-05-16 01:31:56.628 [info] 
2026-05-16 01:31:56.930 [info] 
2026-05-16 01:31:57.088 [info] 
2026-05-16 01:31:57.230 [info] .
2026-05-16 01:31:57.390 [info] 
2026-05-16 01:31:57.630 [info] 
2026-05-16 01:31:58.645 [info] 
2026-05-16 01:31:58.660 [info] 
2026-05-16 01:31:58.701 [info] .
2026-05-16 01:31:58.701 [info] 
2026-05-16 01:31:58.701 [info] 
2026-05-16 01:31:58.903 [info] 
2026-05-16 01:31:59.069 [info] 
2026-05-16 01:31:59.306 [info] .
2026-05-16 01:31:59.470 [info] 
2026-05-16 01:31:59.596 [info] 
2026-05-16 01:31:59.786 [info] 
2026-05-16 01:32:00.026 [info] 
2026-05-16 01:32:00.918 [info] .
2026-05-16 01:32:01.153 [info] 
2026-05-16 01:32:01.290 [info] 
2026-05-16 01:32:01.290 [info] 
2026-05-16 01:32:01.348 [info] 
2026-05-16 01:32:01.610 [info] .
2026-05-16 01:32:01.780 [info] 
2026-05-16 01:32:02.027 [info] 
2026-05-16 01:32:02.167 [info] 
2026-05-16 01:32:02.404 [info] 
2026-05-16 01:32:02.646 [info] .
2026-05-16 01:32:02.806 [info] 
2026-05-16 01:32:03.057 [info] 
2026-05-16 01:32:03.204 [info] 
2026-05-16 01:32:03.462 [info] 
2026-05-16 01:32:03.598 [info] .
2026-05-16 01:32:03.839 [info] 
2026-05-16 01:32:04.241 [info] 
2026-05-16 01:32:04.488 [info] 
2026-05-16 01:32:04.794 [info] 
2026-05-16 01:32:04.810 [info]  Done!

2026-05-16 01:32:04.813 [info] Validating download...

2026-05-16 01:32:04.813 [info] Integrity Check succeeded.

2026-05-16 01:32:04.813 [info] Installing package 'VSWebAssemblyBridge (Platform Agnostic)'

2026-05-16 01:32:04.813 [info] 

2026-05-16 01:32:04.922 [info] Finished

2026-05-16 01:32:04.922 [info] 

2026-05-16 01:32:04.986 [info] Locating .NET runtime version 10.0.5
2026-05-16 01:32:05.272 [info] Dotnet path: /root/.vscode-server/data/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/10.0.7~x64~aspnetcore/dotnet
2026-05-16 01:32:05.272 [info] Activating C# + C# Dev Kit...
2026-05-16 01:32:05.533 [info] info: Program[0]
2026-05-16 01:32:05.533 [info]       Server started with process ID 9047
2026-05-16 01:32:07.436 [info] [Program] Language server initialized
2026-05-16 01:32:07.440 [info] [Program] Monitoring client process 7773 for exit
2026-05-16 01:32:08.615 [info] [initialized] [Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.FileBasedProgramsEntryPointDiscovery] Finished discovery in '/root/football' in 375 milliseconds
2026-05-16 01:32:12.127 [info] [serviceBroker/connect] [WorkspaceProjectFactoryService] Project /root/football/dotnet/Backend/FootballAI.Api.csproj loaded by C# Dev Kit
2026-05-16 01:32:12.149 [info] [serviceBroker/connect] [WorkspaceProjectFactoryService] Project /root/football/dotnet/Mobile/FootballAI.Mobile.csproj loaded by C# Dev Kit
2026-05-16 01:45:27.923 [info] Connection to server got closed. Server will restart.
2026-05-16 01:45:27.932 [error] Server process exited with code 143.
2026-05-16 01:45:28.060 [info] info: Program[0]
2026-05-16 01:45:28.060 [info]       Server started with process ID 12300
2026-05-16 01:45:28.535 [info] [Program] Language server initialized
2026-05-16 01:45:28.565 [info] [Program] Monitoring client process 7773 for exit
2026-05-16 01:45:29.282 [info] [initialized] [Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.FileBasedProgramsEntryPointDiscovery] Finished discovery in '/root/football' in 261 milliseconds

C# LSP Trace Logs log

Details

Environment Information

VSCode version: 1.120.0
C# Extension: 2.140.8
Using OmniSharp: false

Dotnet Information

Host:
Version: 10.0.7
Architecture: x64
Commit: b16286c228
RID: linux-x64

.NET SDKs installed:
No SDKs were found.

.NET runtimes installed:
Microsoft.AspNetCore.App 10.0.7 [/root/.vscode-server/data/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/10.0.7x64aspnetcore/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 10.0.7 [/root/.vscode-server/data/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/10.0.7x64aspnetcore/shared/Microsoft.NETCore.App]

Other architectures found:
None

Environment variables:
DOTNET_CLI_UI_LANGUAGE [en-US]
DOTNET_MULTILEVEL_LOOKUP [0]
DOTNET_NOLOGO [true]

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

Visual Studio Code Extensions
Extension Author Version Folder Name
csdevkit ms-dotnettools 3.10.14 ms-dotnettools.csdevkit-3.10.14-linux-x64
csharp ms-dotnettools 2.140.8 ms-dotnettools.csharp-2.140.8-linux-x64
debugpy ms-python 2026.6.0 ms-python.debugpy-2026.6.0-linux-x64
githistory donjayamanne 0.6.20 donjayamanne.githistory-0.6.20
jupyter ms-toolsai 2025.9.1 ms-toolsai.jupyter-2025.9.1-linux-x64
jupyter-renderers ms-toolsai 1.3.0 ms-toolsai.jupyter-renderers-1.3.0
kilo-code kilocode 7.2.52 kilocode.kilo-code-7.2.52
markdown-mermaid bierner 1.32.0 bierner.markdown-mermaid-1.32.0
npm-intellisense christian-kohler 1.4.5 christian-kohler.npm-intellisense-1.4.5
powershell ms-vscode 2025.4.0 ms-vscode.powershell-2025.4.0
preview-vscode searKing 2.3.12 searking.preview-vscode-2.3.12
pytest-fixtures nickmillerdev 0.3.3 nickmillerdev.pytest-fixtures-0.3.3
pytest-runner pamaron 0.0.13 pamaron.pytest-runner-0.0.13
python ms-python 2026.4.0 ms-python.python-2026.4.0-linux-x64
rainbow-csv mechatroner 3.24.1 mechatroner.rainbow-csv-3.24.1
vscode-containers ms-azuretools 2.4.4 ms-azuretools.vscode-containers-2.4.4
vscode-dotnet-runtime ms-dotnettools 3.0.2 ms-dotnettools.vscode-dotnet-runtime-3.0.2
vscode-eslint dbaeumer 3.0.24 dbaeumer.vscode-eslint-3.0.24
vscode-jupyter-cell-tags ms-toolsai 0.1.9 ms-toolsai.vscode-jupyter-cell-tags-0.1.9
vscode-jupyter-slideshow ms-toolsai 0.1.6 ms-toolsai.vscode-jupyter-slideshow-0.1.6
vscode-markdownlint DavidAnson 0.61.2 davidanson.vscode-markdownlint-0.61.2
vscode-mermaid-chart MermaidChart 2.6.6 mermaidchart.vscode-mermaid-chart-2.6.6
vscode-mermaid-preview vstirbu 2.1.2 vstirbu.vscode-mermaid-preview-2.1.2
vscode-pylance ms-python 2026.2.1 ms-python.vscode-pylance-2026.2.1
vscode-pytest Cameron 0.1.1 cameron.vscode-pytest-0.1.1
vscode-pytest-intellisence datoux 0.0.1 datoux.vscode-pytest-intellisence-0.0.1
vscode-python-envs ms-python 1.30.0 ms-python.vscode-python-envs-1.30.0-linux-x64
xml DotJoshJohnson 2.5.1 dotjoshjohnson.xml-2.5.1
C# Settings
Setting Value
preferCSharpExtension false
compilerDiagnosticScope openFiles
analyzerDiagnosticScope openFiles
enableXamlTools true
useServerGC true
System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i5-11400H @ 2.70GHz (12 x 2688)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x10de, DEVICE=0x2520 [NVIDIA GeForce RTX 3060 Laptop GPU], DRIVER_VENDOR=NVIDIA, DRIVER_VERSION=32.0.15.9636 ACTIVE
GPU1: VENDOR= 0x8086, DEVICE=0x9a68 [Intel(R) UHD Graphics], DRIVER_VERSION=32.0.101.6556
GPU2: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.29580.1000
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.78GB (3.24GB free)
Process Argv --crash-reporter-id 540e88f7-b06f-42df-aeb7-a5f5974cc9e6
Screen Reader no
VM 0%
Item Value
Remote WSL: Resolute
OS Linux x64 6.6.114.1-microsoft-standard-WSL2
CPUs 11th Gen Intel(R) Core(TM) i5-11400H @ 2.70GHz (12 x 0)
Memory (System) 7.65GB (4.48GB free)
VM 0%
A/B Experiments
vsliv368cf:30146710
pythonvspyt551:31249599
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
63221493:31336333
envsdeactivate2:31505458
cloudbuttont:31379625
3efgi100_wstrepl:31403338
55ia6109:31457054
ec5jj548:31422691
cp_cls_t_966_ss:31454198
inlinechat_v2_hd992725:31505030
4je02754:31466945
c3h7c220:31478652
38bie571_auto:31426784
cp_cls_c_1081:31454833
conptydll_true:31498968
ia-use-proxy-models-svc:31452481
e9c30283:31461165
test_treatment2:31471001
c9b86496:31447327
control_6dc23131:31513471
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31507493
7e187181:31503455
i2gc6536:31499202
17hge832:31515326
ghj88844:31499326
h08i8180_copy:31475368
ddid_t:31478206
1b2f8594:31514983
getcmakediagnosticsoff:31489825
ja75b849:31515466
7df3h592:31512476
cp_cls_c_1082:31504161
logging_enabled_new:31498466
db5d2638:31499441
nes-extended-cfe-himalia-004:31500446
jb_cp_cls_c_632:31510883
b1ei0813:31506238
56dj4588:31512888
cg448276_tst_on:31514358
32d76977:31512328
ha629193:31508444
539gd155_c:31506875
jh5f2457_c:31515489

Metadata

Metadata

Assignees

No one assigned

    Labels

    C#DKThe C#DK extension is installeduntriaged

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions