Type: Bug
Issue Description
Steps to Reproduce
Expected Behavior
Actual Behavior
Extension version: 2.130.5
VS Code version: Code 1.114.0 (e7fb5e96c0730b9deb70b33781f98e2f35975036, 2026-04-01T09:27:11Z)
OS version: Windows_NT x64 10.0.26200
Modes:
Logs
C# log
Details
2026-04-12 13:44:49.795 [info] Locating .NET runtime version 10.0.5
2026-04-12 13:44:51.505 [info] Dotnet path: c:\Users\hoang.huy1.nguyen\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\10.0.5~x64~aspnetcore\dotnet.exe
2026-04-12 13:44:51.505 [info] Activating C# + C# Dev Kit...
2026-04-12 13:44:52.927 [info] info: Program[0]
2026-04-12 13:44:52.928 [info] Server started with process ID 1660
2026-04-12 13:44:57.528 [info] [Program] Language server initialized
2026-04-12 13:44:57.532 [info] [Program] Monitoring client process 24432 for exit
2026-04-12 13:45:03.754 [info] [textDocument/_vs_getProjectContexts] [Microsoft.CodeAnalysis.MSBuild.BuildHostProcessManager] .NET BuildHost started from c:\Users\hoang.huy1.nguyen\.vscode\extensions\ms-dotnettools.csharp-2.130.5-win32-x64\.roslyn\Microsoft.CodeAnalysis.LanguageServer.exe reloading to start from C:\Program Files\dotnet\dotnet.exe to match necessary SDK location.
2026-04-12 13:45:11.718 [warning] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Project C:\Users\hoang.huy1.nguyen\AppData\Local\Temp\roslyn-canonical-misc\66ecdb31-521c-4e25-9e64-d781046fd89f\Canonical.csproj has unresolved dependencies
2026-04-12 13:45:14.074 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Successfully completed load of C:\Users\hoang.huy1.nguyen\AppData\Local\Temp\roslyn-canonical-misc\66ecdb31-521c-4e25-9e64-d781046fd89f\Canonical.cs
2026-04-12 13:45:14.141 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Restoring Canonical.cs: Running dotnet restore on C:\Users\hoang.huy1.nguyen\AppData\Local\Temp\roslyn-canonical-misc\66ecdb31-521c-4e25-9e64-d781046fd89f\Canonical.cs
2026-04-12 13:45:14.141 [info] [textDocument/_vs_getProjectContexts] [Microsoft.CodeAnalysis.LanguageServer.DotnetCliHelper] Using dotnet executable configured on the PATH
2026-04-12 13:45:21.847 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Restoring Canonical.cs: Determining projects to restore...
2026-04-12 13:45:32.352 [info] [serviceBroker/connect] [WorkspaceProjectFactoryService] Project C:\Hoang\Learning\DotNet\HTML\Lesson2\WebApp\WebApp.csproj loaded by C# Dev Kit
2026-04-12 13:45:32.385 [info] [serviceBroker/connect] [WorkspaceProjectFactoryService] Project C:\Hoang\Learning\DotNet\HTML\Lesson2\App\App.csproj loaded by C# Dev Kit
2026-04-12 13:46:28.273 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Restoring Canonical.cs: Restored C:\Users\hoang.huy1.nguyen\AppData\Local\Temp\roslyn-canonical-misc\66ecdb31-521c-4e25-9e64-d781046fd89f\Canonical.csproj (in 1.1 min).
2026-04-12 13:46:28.543 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Restore complete
2026-04-12 13:46:28.543 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:01:27.1468373
2026-04-12 14:52:32.255 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 14:52:32.389 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 14:52:36.871 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 14:52:45.239 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 14:53:16.953 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 14:53:17.175 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 14:53:54.771 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 14:53:54.970 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 14:54:00.942 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 14:57:36.420 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 14:58:27.167 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 14:58:27.336 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 15:11:16.939 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 17:00:10.121 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 17:00:10.270 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 17:21:25.300 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 17:21:25.541 [error] Request textDocument/completion failed.
Message: Specified argument was out of the range of valid values. (Parameter 'position')
Code: -32000
[object Object]
2026-04-12 17:21:26.314 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 17:21:26.618 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 17:21:29.202 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 17:21:30.190 [error] Request textDocument/completion failed.
Message: Specified argument was out of the range of valid values. (Parameter 'position')
Code: -32000
[object Object]
2026-04-12 17:21:30.664 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 17:22:42.557 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 17:22:43.232 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 17:22:46.679 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 17:22:51.216 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 17:22:51.536 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
2026-04-12 17:23:01.097 [error] Request textDocument/codeAction failed.
Message: Specified argument was out of the range of valid values. (Parameter 'span')
Code: -32000
[object Object]
C# LSP Trace Logs log
Details
Environment Information
VSCode version: 1.114.0
C# Extension: 2.130.5
Using OmniSharp: false
Dotnet Information
Host:
Version: 10.0.5
Architecture: x64
Commit: a612c2a105
RID: win-x64
.NET SDKs installed:
No SDKs were found.
.NET runtimes installed:
Microsoft.AspNetCore.App 10.0.5 [c:\Users\hoang.huy1.nguyen\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\10.0.5x64aspnetcore\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 10.0.5 [c:\Users\hoang.huy1.nguyen\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\10.0.5x64aspnetcore\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]
DOTNET_ROLL_FORWARD [Major]
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-win32-x64 |
| csharp |
ms-dotnettools |
2.130.5 |
ms-dotnettools.csharp-2.130.5-win32-x64 |
| data-workspace-vscode |
ms-mssql |
0.6.3 |
ms-mssql.data-workspace-vscode-0.6.3 |
| dax-language |
jianfajun |
0.0.13 |
jianfajun.dax-language-0.0.13 |
| debugpy |
ms-python |
2025.18.0 |
ms-python.debugpy-2025.18.0-win32-x64 |
| dotnet-interactive-vscode |
ms-dotnettools |
1.0.7120010 |
ms-dotnettools.dotnet-interactive-vscode-1.0.7120010 |
| excel-mcp |
sbroenne |
1.8.44 |
sbroenne.excel-mcp-1.8.44 |
| gc-excelviewer |
GrapeCity |
4.2.65 |
grapecity.gc-excelviewer-4.2.65 |
| jupyter |
ms-toolsai |
2025.9.1 |
ms-toolsai.jupyter-2025.9.1-win32-x64 |
| jupyter-keymap |
ms-toolsai |
1.1.2 |
ms-toolsai.jupyter-keymap-1.1.2 |
| jupyter-renderers |
ms-toolsai |
1.3.0 |
ms-toolsai.jupyter-renderers-1.3.0 |
| LiveServer |
ritwickdey |
5.7.10 |
ritwickdey.liveserver-5.7.10 |
| markdown-all-in-one |
yzhang |
3.6.3 |
yzhang.markdown-all-in-one-3.6.3 |
| markdown-pdf |
yzane |
1.5.0 |
yzane.markdown-pdf-1.5.0 |
| markdown-preview-enhanced |
shd101wyy |
0.8.22 |
shd101wyy.markdown-preview-enhanced-0.8.22 |
| material-icon-theme |
PKief |
5.33.1 |
pkief.material-icon-theme-5.33.1 |
| mssql |
ms-mssql |
1.41.0 |
ms-mssql.mssql-1.41.0 |
| pdf |
tomoki1207 |
1.2.2 |
tomoki1207.pdf-1.2.2 |
| powerbi-modeling-mcp |
analysis-services |
0.4.0 |
analysis-services.powerbi-modeling-mcp-0.4.0-win32-x64 |
| powershell |
ms-vscode |
2025.4.0 |
ms-vscode.powershell-2025.4.0 |
| python |
ms-python |
2026.4.0 |
ms-python.python-2026.4.0-win32-x64 |
| rainbow-csv |
mechatroner |
3.24.1 |
mechatroner.rainbow-csv-3.24.1 |
| sql-bindings-vscode |
ms-mssql |
0.4.1 |
ms-mssql.sql-bindings-vscode-0.4.1 |
| sql-database-projects-vscode |
ms-mssql |
1.5.8 |
ms-mssql.sql-database-projects-vscode-1.5.8 |
| tokyo-night |
Avetis |
1.0.2 |
avetis.tokyo-night-1.0.2 |
| vscode-dotnet-runtime |
ms-dotnettools |
3.0.0 |
ms-dotnettools.vscode-dotnet-runtime-3.0.0 |
| vscode-fabric |
fabric |
0.38.1 |
fabric.vscode-fabric-0.38.1 |
| 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-pylance |
ms-python |
2026.2.1 |
ms-python.vscode-pylance-2026.2.1 |
| vscode-python-envs |
ms-python |
1.26.0 |
ms-python.vscode-python-envs-1.26.0-win32-x64 |
C# Settings
| Setting |
Value |
| preferCSharpExtension |
false |
| compilerDiagnosticScope |
openFiles |
| analyzerDiagnosticScope |
openFiles |
| enableXamlTools |
true |
| useServerGC |
true |
System Info
| Item |
Value |
| CPUs |
Intel(R) Core(TM) Ultra 7 155U (14 x 2688) |
| GPU Status |
2d_canvas: enabled GPU0: VENDOR= 0x8086, DEVICE=0x7d45 [Intel(R) Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=32.0.101.8332 ACTIVE GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.7309 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.51GB (13.11GB free) |
| Process Argv |
--crash-reporter-id 24d7ebdd-e93c-4aae-84d9-777372c54c10 |
| 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
6abeh943:31336334
envsdeactivate2:31464701
cloudbuttont:31379625
3efgi100_wstrepl:31403338
use-responses-api:31390855
je187915:31454425
ec5jj548:31422691
cp_cls_c_966_ss:31454199
4je02754:31466945
c3h7c220:31478652
ge8j1254_inline_auto_hint_haiku:31491242
38bie571_auto:31426784
cp_cls_c_1081:31454833
conptydll_true:31489736
e9c30283:31461165
test_treatment2:31471001
idci7584:31464702
3bj34942:31489864
534a6447:31478749
chat:31457767
t-some:31486549
cpptoolson-v2:31475363
githubstableflight:31469463
signintitlebar:31487064
ghj88844:31492074
ec1eg703:31491645
c5d46265_tst_off:31487659
ddid_t:31478206
getcmakediagnosticsoff:31489825
cp_cls_c_1082:31491634
logging_disabled_new:31493366
Type: Bug
Issue Description
Steps to Reproduce
Expected Behavior
Actual Behavior
Extension version: 2.130.5
VS Code version: Code 1.114.0 (e7fb5e96c0730b9deb70b33781f98e2f35975036, 2026-04-01T09:27:11Z)
OS version: Windows_NT x64 10.0.26200
Modes:
Logs
C# log
Details
C# LSP Trace Logs log
Details
Environment Information
VSCode version: 1.114.0
C# Extension: 2.130.5
Using OmniSharp: false
Dotnet Information
Host:
Version: 10.0.5
Architecture: x64
Commit: a612c2a105
RID: win-x64
.NET SDKs installed:
No SDKs were found.
.NET runtimes installed:
Microsoft.AspNetCore.App 10.0.5 [c:\Users\hoang.huy1.nguyen\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\10.0.5
x64aspnetcore\shared\Microsoft.AspNetCore.App]Microsoft.NETCore.App 10.0.5 [c:\Users\hoang.huy1.nguyen\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\10.0.5
x64aspnetcore\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]
DOTNET_ROLL_FORWARD [Major]
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Visual Studio Code Extensions
C# Settings
System Info
GPU0: VENDOR= 0x8086, DEVICE=0x7d45 [Intel(R) Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=32.0.101.8332 ACTIVE
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.7309
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
A/B Experiments