Skip to content

kartkowki #9009

@Jakub-coder09

Description

@Jakub-coder09

Type: Bug

Issue Description

Steps to Reproduce

Expected Behavior

Actual Behavior

Extension version: 2.120.3
VS Code version: Code 1.109.4 (c3a26841a84f20dfe0850d0a5a9bd01da4f003ea, 2026-02-16T15:35:57.932Z)
OS version: Windows_NT x64 10.0.19045
Modes:

Logs

C# log

Details
2026-02-18 19:55:45.931 [info] Installing C# dependencies...
2026-02-18 19:55:45.931 [info] 

2026-02-18 19:55:45.931 [info] Platform: win32, x86_64

2026-02-18 19:55:45.931 [info] 

2026-02-18 19:55:45.931 [info] Downloading package 'Language server for Roslyn Copilot integration' 
2026-02-18 19:55:46.913 [info] (47 KB)
2026-02-18 19:55:46.914 [info] .......
2026-02-18 19:55:47.145 [info] .......
2026-02-18 19:55:47.167 [info] ......
2026-02-18 19:55:47.168 [info]  Done!

2026-02-18 19:55:47.169 [info] Validating download...

2026-02-18 19:55:47.169 [info] Integrity Check succeeded.

2026-02-18 19:55:47.169 [info] Installing package 'Language server for Roslyn Copilot integration'

2026-02-18 19:55:47.169 [info] 

2026-02-18 19:55:47.180 [info] Finished

2026-02-18 19:55:47.180 [info] 

2026-02-18 19:55:47.329 [info] Locating .NET runtime version 10.0.0
2026-02-18 19:55:48.128 [info] Did not find .NET 10.0.0 on path, falling back to acquire runtime via ms-dotnettools.vscode-dotnet-runtime
2026-02-18 19:56:30.593 [info] Dotnet path: c:\Users\ja\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\10.0.3~x64~aspnetcore\dotnet.exe
2026-02-18 19:56:30.593 [info] Activating C# + C# Dev Kit...
2026-02-18 19:56:31.298 [info] [stdout] info: Program[0]
      Server started with process ID 15536

2026-02-18 19:56:33.256 [info] [stdout] {"pipeName":"\\\\.\\pipe\\4af0d621"}

2026-02-18 19:56:33.256 [info] received named pipe information from server
2026-02-18 19:56:33.257 [info] client has connected to server
2026-02-18 19:56:33.350 [info] [Program] Language server initialized
2026-02-18 19:56:34.674 [info] [textDocument/_vs_getProjectContexts] [Microsoft.CodeAnalysis.MSBuild.BuildHostProcessManager] .NET BuildHost started from c:\Users\ja\.vscode\extensions\ms-dotnettools.csharp-2.120.3-win32-x64\.roslyn\Microsoft.CodeAnalysis.LanguageServer.exe reloading to start from C:\Program Files\dotnet\dotnet.exe to match necessary SDK location.
2026-02-18 19:56:37.369 [warning] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Projekt C:\Users\ja\AppData\Local\Temp\roslyn-canonical-misc\c2bade93-cf43-4572-bc01-633bdbb034f7\Canonical.csproj ma nierozpoznane zależności
2026-02-18 19:56:37.622 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Pomyślnie ukończono ładowanie elementu C:\Users\ja\AppData\Local\Temp\roslyn-canonical-misc\c2bade93-cf43-4572-bc01-633bdbb034f7\Canonical.cs
2026-02-18 19:56:37.624 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Przywracanie Canonical.cs: Uruchamianie przywracania dotnet na C:\Users\ja\AppData\Local\Temp\roslyn-canonical-misc\c2bade93-cf43-4572-bc01-633bdbb034f7\Canonical.cs
2026-02-18 19:56:37.624 [info] [textDocument/_vs_getProjectContexts] [Microsoft.CodeAnalysis.LanguageServer.DotnetCliHelper] Using dotnet executable configured on the PATH
2026-02-18 19:56:38.033 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Przywracanie Canonical.cs: C:\Users\ja\AppData\Local\Temp\roslyn-canonical-misc\c2bade93-cf43-4572-bc01-633bdbb034f7\Canonical.cs : error MSB4025: The project file could not be loaded. Root element is missing.
2026-02-18 19:56:38.080 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Przywracanie Canonical.cs: Nie można uruchomić przywracania na C:\Users\ja\AppData\Local\Temp\roslyn-canonical-misc\c2bade93-cf43-4572-bc01-633bdbb034f7\Canonical.cs
2026-02-18 19:56:38.080 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Zakończono przywracanie
2026-02-18 19:56:38.080 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Ukończono (ponownie)ładowanie wszystkich projektów w usłudze 00:00:03.9084203

C# LSP Trace Logs log

Details

Environment Information

VSCode version: 1.109.4
C# Extension: 2.120.3
Using OmniSharp: false

Dotnet Information

Host:
Version: 10.0.3
Architecture: x64
Commit: c2435c3e0f
RID: win-x64

.NET SDKs installed:
No SDKs were found.

.NET runtimes installed:
Microsoft.AspNetCore.App 10.0.3 [c:\Users\ja\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\10.0.3x64aspnetcore\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 10.0.3 [c:\Users\ja\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\10.0.3x64aspnetcore\shared\Microsoft.NETCore.App]

Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

Environment variables:
DOTNET_CLI_UI_LANGUAGE [en-US]
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
autodocstring njpwerner 0.6.1 njpwerner.autodocstring-0.6.1
copilot-chat GitHub 0.37.6 github.copilot-chat-0.37.6
csdevkit ms-dotnettools 2.10.3 ms-dotnettools.csdevkit-2.10.3-win32-x64
csharp ms-dotnettools 2.120.3 ms-dotnettools.csharp-2.120.3-win32-x64
debugpy ms-python 2025.4.0 ms-python.debugpy-2025.4.0-win32-x64
go golang 0.52.2 golang.go-0.52.2
intellicode-api-usage-examples VisualStudioExptTeam 0.2.9 visualstudioexptteam.intellicode-api-usage-examples-0.2.9
jinja wholroyd 0.0.8 wholroyd.jinja-0.0.8
live-server ms-vscode 0.4.17 ms-vscode.live-server-0.4.17
live-server-preview negokaz 0.1.4 negokaz.live-server-preview-0.1.4
LiveServer ritwickdey 5.7.9 ritwickdey.liveserver-5.7.9
python ms-python 2026.2.2026021801 ms-python.python-2026.2.2026021801-win32-x64
python-environment-manager donjayamanne 1.2.7 donjayamanne.python-environment-manager-1.2.7
python-extended-snippets tushortz 0.0.1 tushortz.python-extended-snippets-0.0.1
python-extension-pack donjayamanne 1.7.0 donjayamanne.python-extension-pack-1.7.0
python-path mgesbert 0.0.14 mgesbert.python-path-0.0.14
vsc-python-indent KevinRose 1.21.0 kevinrose.vsc-python-indent-1.21.0
vscode-django batisteo 1.15.0 batisteo.vscode-django-1.15.0
vscode-dotnet-runtime ms-dotnettools 3.0.0 ms-dotnettools.vscode-dotnet-runtime-3.0.0
vscode-pylance ms-python 2025.10.4 ms-python.vscode-pylance-2025.10.4
vscode-python-envs ms-python 1.17.10341639 ms-python.vscode-python-envs-1.17.10341639-win32-x64
vscodeintellicode VisualStudioExptTeam 1.3.2 visualstudioexptteam.vscodeintellicode-1.3.2
webjsx SafeOnlineWorld 0.0.1 safeonlineworld.webjsx-0.0.1
C# Settings
Setting Value
preferCSharpExtension false
compilerDiagnosticScope openFiles
analyzerDiagnosticScope openFiles
enableXamlTools true
useServerGC true
System Info
Item Value
CPUs Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz (6 x 2904)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x10de, DEVICE=0x2188 [NVIDIA GeForce GTX 1650], DRIVER_VENDOR=NVIDIA, DRIVER_VERSION=32.0.15.6094 ACTIVE
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.19041.4355
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.94GB (8.56GB free)
Process Argv --crash-reporter-id 3eb3518f-1682-4f90-9e80-4ed74182e5f5
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
63221493:31336333
envsactivate1:31464700
cloudbuttont:31379625
3efgi100_wstrepl:31403338
bj468946:31457056
use-responses-api:31390855
ddidt:31399633
je187915:31454425
ec5jj548:31422691
cp_cls_t_966_ss:31454198
4je02754:31463857
find_all_ref_in_bg_f:31453035
ge8j1254_inline_auto_hint_haiku:31427726
nes-autoexp-10:31446583
a5gib710:31434435
38bie571_auto:31426784
7a04d226_do_not_restore_last_panel_session:31438103
cp_cls_t_1081:31454832
copilot-nes-callisto-002:31455108
ia-use-proxy-models-svc:31452481
a43f0576c:31442824
e9c30283:31461165
nes-conv-2-3:31462665
idci7584:31464702
edit_mode_hidden:31461530
864ei723_large_tool_results_to_disk:31460878
showingstats:31457202
chat:31457767
ah:31461780

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions