Skip to content

Bug #9325

@khlee-skia

Description

@khlee-skia

Type: Bug

Issue Description

Files and projects are not visible in the Solution Explorer / File Explorer view when opening a C# project.

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.26200
Modes:
Remote OS version: Linux x64 6.6.114.1-microsoft-standard-WSL2

Logs

C# log

Details
2026-05-19 16:08:38.784 [info] Locating .NET runtime version 10.0.5
2026-05-19 16:08:39.264 [info] Dotnet path: /home/work-pc/.dotnet/dotnet
2026-05-19 16:08:39.264 [info] Activating C# + C# Dev Kit...
2026-05-19 16:08:39.414 [info] info: Program[0]
2026-05-19 16:08:39.414 [info]       Server started with process ID 3715734
2026-05-19 16:08:39.937 [info] [Program] Language server initialized
2026-05-19 16:08:39.994 [info] [Program] Monitoring client process 3694073 for exit
2026-05-19 16:08:40.691 [info] [initialized] [Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.FileBasedProgramsEntryPointDiscovery] Finished discovery in '/home/work-pc/work/task/mars4/Server' in 4 milliseconds
2026-05-19 16:08:41.219 [info] [textDocument/_vs_getProjectContexts] [Microsoft.CodeAnalysis.MSBuild.BuildHostProcessManager] .NET BuildHost started from /home/work-pc/.vscode-server/extensions/ms-dotnettools.csharp-2.140.8-linux-x64/.roslyn/Microsoft.CodeAnalysis.LanguageServer reloading to start from /home/work-pc/.dotnet/dotnet to match necessary SDK location.
2026-05-19 16:08:41.939 [warning] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Project /tmp/roslyn-canonical-misc/8aea5181-14ab-4411-b103-2ef9557131da/Canonical.csproj has unresolved dependencies
2026-05-19 16:08:41.983 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Successfully completed load of /home/work-pc/work/task/mars4/Server/src/Mars4.Server/Features/Workspaces/WorkspaceAssetHandler.cs
2026-05-19 16:08:42.000 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Restoring Canonical.csproj: Running dotnet restore on /tmp/roslyn-canonical-misc/8aea5181-14ab-4411-b103-2ef9557131da/Canonical.csproj
2026-05-19 16:08:42.288 [info] [textDocument/_vs_getProjectContexts] [Microsoft.CodeAnalysis.LanguageServer.DotnetCliHelper] Using dotnet executable configured on the PATH
2026-05-19 16:08:42.410 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Restoring Canonical.csproj:   Determining projects to restore...
2026-05-19 16:08:42.717 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Restoring Canonical.csproj:   Restored /tmp/roslyn-canonical-misc/8aea5181-14ab-4411-b103-2ef9557131da/Canonical.csproj (in 49 ms).
2026-05-19 16:08:42.738 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Restore complete
2026-05-19 16:08:42.738 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:01.7564578
2026-05-19 16:08:43.260 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] /home/work-pc/work/task/mars4/Server/src/Mars4.Server/Features/Workspaces/WorkspaceAssetHandler.cs의 로드가 완료됨
2026-05-19 16:08:43.390 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] 00:00:00.0028000에 있는 모든 프로젝트의 (재)로드가 완료됨
2026-05-19 16:08:43.547 [info] [serviceBroker/connect] [WorkspaceProjectFactoryService] C# Dev Kit에서 로드한 프로젝트 /home/work-pc/work/task/mars4/Server/src/Mars4.Server/Mars4.Server.csproj
2026-05-19 16:08:43.593 [info] [serviceBroker/connect] [WorkspaceProjectFactoryService] C# Dev Kit에서 로드한 프로젝트 /home/work-pc/work/task/mars4/Server/tests/Mars4.Server.UnitTests/Mars4.Server.UnitTests.csproj

C# LSP 추적 로그 log

Details

Environment Information

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

Dotnet Information .NET SDK: Version: 10.0.202 Commit: 1e7d5a8ae3 Workload version: 10.0.200-manifests.f96d7f23 MSBuild version: 18.3.3+1e7d5a8ae

Runtime Environment:
OS Name: ubuntu
OS Version: 24.04
OS Platform: Linux
RID: linux-x64
Base Path: /home/work-pc/.dotnet/sdk/10.0.202/

.NET workloads installed:
There are no installed workloads to display.
Configured to use workload sets when installing new manifests.
No workload sets are installed. Run "dotnet workload restore" to install a workload set.

Host:
Version: 10.0.6
Architecture: x64
Commit: 47fb725acf

.NET SDKs installed:
6.0.428 [/home/work-pc/.dotnet/sdk]
10.0.202 [/home/work-pc/.dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.36 [/home/work-pc/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.5 [/home/work-pc/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.6 [/home/work-pc/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.36 [/home/work-pc/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.5 [/home/work-pc/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.6 [/home/work-pc/.dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
None

Environment variables:
DOTNET_CLI_UI_LANGUAGE [en-US]
DOTNET_ROOT [/home/work-pc/.dotnet]

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
claude-code Anthropic 2.1.144 anthropic.claude-code-2.1.144-linux-x64
csdevkit ms-dotnettools 3.20.197 ms-dotnettools.csdevkit-3.20.197-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
EditorConfig EditorConfig 0.18.2 editorconfig.editorconfig-0.18.2
githistory donjayamanne 0.6.20 donjayamanne.githistory-0.6.20
LiveServer ritwickdey 5.7.10 ritwickdey.liveserver-5.7.10
lldb-dap llvm-vs-code-extensions 0.4.1 llvm-vs-code-extensions.lldb-dap-0.4.1
markdown-mermaid bierner 1.32.0 bierner.markdown-mermaid-1.32.0
markdown-pdf yzane 2.0.1 yzane.markdown-pdf-2.0.1
prettier-vscode esbenp 12.4.0 esbenp.prettier-vscode-12.4.0
python ms-python 2026.4.0 ms-python.python-2026.4.0-linux-x64
ruff charliermarsh 2026.42.0 charliermarsh.ruff-2026.42.0-linux-x64
rust-analyzer rust-lang 0.3.2896 rust-lang.rust-analyzer-0.3.2896-linux-x64
svelte-vscode svelte 110.0.0 svelte.svelte-vscode-110.0.0
volar Vue 3.3.0 vue.volar-3.3.0
vscode-containers ms-azuretools 2.4.4 ms-azuretools.vscode-containers-2.4.4
vscode-dicom smikitky 1.4.0 smikitky.vscode-dicom-1.4.0
vscode-dotnet-runtime ms-dotnettools 3.0.2 ms-dotnettools.vscode-dotnet-runtime-3.0.2
vscode-language-pack-ko MS-CEINTL 1.118.2026051522 ms-ceintl.vscode-language-pack-ko-1.118.2026051522
vscode-nuget-gallery patcx 1.2.5 patcx.vscode-nuget-gallery-1.2.5
vscode-proto sankethdev 0.0.6 sankethdev.vscode-proto-0.0.6
vscode-pylance ms-python 2026.2.1 ms-python.vscode-pylance-2026.2.1
vscode-python-envs ms-python 1.30.0 ms-python.vscode-python-envs-1.30.0-linux-x64
vscode-sqlite alexcvzz 0.14.1 alexcvzz.vscode-sqlite-0.14.1
vscode-sqlite3-editor yy0931 1.0.212 yy0931.vscode-sqlite3-editor-1.0.212
vscode-tailwindcss bradlc 0.14.29 bradlc.vscode-tailwindcss-0.14.29
vscode-yaml redhat 1.23.0 redhat.vscode-yaml-1.23.0
C# Settings
Setting Value
preferCSharpExtension false
compilerDiagnosticScope openFiles
analyzerDiagnosticScope openFiles
enableXamlTools true
useServerGC true
System Info
Item Value
CPUs 13th Gen Intel(R) Core(TM) i7-13700F (24 x 2112)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x10de, DEVICE=0x2584 [NVIDIA GeForce RTX 3050], DRIVER_VENDOR=NVIDIA, DRIVER_VERSION=32.0.15.9186 ACTIVE
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8328
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) 31.83GB (11.35GB free)
Process Argv --folder-uri vscode-remote://wsl%2Bubuntu/home/work-pc/work/task/mars4/Server --crash-reporter-id 2cafc569-e719-4115-aab0-deef3829104a
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu
OS Linux x64 6.6.114.1-microsoft-standard-WSL2
CPUs 13th Gen Intel(R) Core(TM) i7-13700F (24 x 0)
Memory (System) 15.53GB (12.23GB free)
VM 0%
A/B Experiments
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
4f60g487:31327383
6abeh943:31336334
envsactivate1:31505457
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
cp_cls_t_966_ss:31454198
inlinechat_v2_hd992725:31505030
4je02754:31466945
8hhj4413:31478653
ge8j1254_inline_auto_hint_haiku:31490510
38bie571_auto:31478678
cp_cls_t_1081:31454832
conptydll_true:31498968
ia-use-proxy-models-svc:31452481
e9c30283:31461165
test_treatment2:31471001
ts_provider_disabled:31458191
c9b86496:31447327
rl_a_xe_098a3278:31513474
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
nes-extended-on:31455476
chat:31457767
8hig5102:31480529
89g7j272:31507493
7e187181:31503455
i2gc6536:31499202
52612955:31516516
ghj88844:31499326
ddid_t:31478206
1b2f8594:31509479
getcmakediagnosticsoff:31489825
g_d1382936:31515467
7df3h592:31512476
pro_large_t:31499376
cp_cls_t_1082:31516087
logging_enabled_new:31498466
j0d79568:31499440
jb_cp_cls_c_632:31510883
b1ei0813:31506238
56dj4588:31512888
cg448276_tst_on:31514358
32d76977:31512328
ha629193:31508444
539gd155_c:31506875
jh5f2457_c:31515489
api_cot_ctrl:31513533
prpt_ctrl:31515848

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