Type: Bug
Issue Description
Steps to Reproduce
Expected Behavior
Actual Behavior
Extension version: 2.130.5
VS Code version: Code 1.117.0 (Universal) (10c8e557c8b9f9ed0a87f61f1c9a44bde731c409, 2026-04-21T16:12:14-07:00)
OS version: Darwin arm64 25.4.0
Modes:
Logs
C# log
Details
2026-04-26 13:34:10.779 [info] Locating .NET runtime version 10.0.5
2026-04-26 13:34:10.810 [info] Dotnet path: /usr/local/share/dotnet/dotnet
2026-04-26 13:34:10.810 [info] Activating C# + C# Dev Kit...
2026-04-26 13:34:14.302 [info] Locating .NET runtime version 10.0.5
2026-04-26 13:34:14.758 [info] Dotnet path: /usr/local/share/dotnet/dotnet
2026-04-26 13:34:14.758 [info] Activating C# + C# Dev Kit...
2026-04-26 13:34:15.211 [info] info: Program[0]
2026-04-26 13:34:15.211 [info] Server started with process ID 5228
2026-04-26 13:34:16.670 [info] [Program] Language server initialized
2026-04-26 13:34:16.678 [info] [Program] Monitoring client process 5183 for exit
2026-04-26 13:34:19.683 [info] [textDocument/_vs_getProjectContexts] [Microsoft.CodeAnalysis.MSBuild.BuildHostProcessManager] .NET BuildHost started from /Users/nimrodlubin/.vscode/extensions/ms-dotnettools.csharp-2.130.5-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.LanguageServer reloading to start from /usr/local/share/dotnet/dotnet to match necessary SDK location.
2026-04-26 13:34:23.831 [warning] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Project /var/folders/gs/h03m_wbn0c7g4zbj_nrxkk5h0000gn/T/roslyn-canonical-misc/ccfce6f4-586f-4544-9ba9-13658d363eee/Canonical.csproj has unresolved dependencies
2026-04-26 13:34:24.041 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Successfully completed load of /var/folders/gs/h03m_wbn0c7g4zbj_nrxkk5h0000gn/T/roslyn-canonical-misc/ccfce6f4-586f-4544-9ba9-13658d363eee/Canonical.cs
2026-04-26 13:34:24.041 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Restoring Canonical.cs: Running dotnet restore on /var/folders/gs/h03m_wbn0c7g4zbj_nrxkk5h0000gn/T/roslyn-canonical-misc/ccfce6f4-586f-4544-9ba9-13658d363eee/Canonical.cs
2026-04-26 13:34:24.042 [info] [textDocument/_vs_getProjectContexts] [Microsoft.CodeAnalysis.LanguageServer.DotnetCliHelper] Using dotnet executable configured on the PATH
2026-04-26 13:34:25.789 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Restoring Canonical.cs: Determining projects to restore...
2026-04-26 13:34:26.399 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Restoring Canonical.cs: Restored /var/folders/gs/h03m_wbn0c7g4zbj_nrxkk5h0000gn/T/roslyn-canonical-misc/ccfce6f4-586f-4544-9ba9-13658d363eee/Canonical.csproj (in 273 ms).
2026-04-26 13:34:26.436 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Restore complete
2026-04-26 13:34:26.436 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:07.5784517
2026-04-26 13:34:26.671 [error] [codeAction/resolve] [LSP] System.InvalidOperationException: Sequence contains no matching element
at System.Linq.ThrowHelper.ThrowNoMatchException()
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)
at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeActions.CodeActionHelpers.GetCodeActionToResolve(String[] codeActionPath, ImmutableArray`1 codeActions, Boolean isFixAllAction) in /_/src/LanguageServer/Protocol/Handler/CodeActions/CodeActionHelpers.cs:line 450
at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeActionResolveHandler.HandleRequestAsync(CodeAction codeAction, RequestContext context, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeActions/CodeActionResolveHandler.cs:line 86
at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.StartRequestAsync[TRequest,TResponse](TRequest request, TRequestContext context, IMethodHandler handler, String language, CancellationToken cancellationToken) in /_/src/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/QueueItem.cs:line 192
2026-04-26 13:34:26.694 [error] Request codeAction/resolve failed.
Message: Sequence contains no matching element
Code: -32000
[object Object]
C# LSP Trace Logs log
Details
Environment Information
VSCode version: 1.117.0
C# Extension: 2.130.5
Using OmniSharp: false
Dotnet Information
.NET SDK:
Version: 10.0.201
Commit: 4d3023de60
Workload version: 10.0.200-manifests.0793c108
MSBuild version: 18.3.0-release-26153-122+4d3023de6
Runtime Environment:
OS Name: Mac OS X
OS Version: 26.4
OS Platform: Darwin
RID: osx-arm64
Base Path: /usr/local/share/dotnet/sdk/10.0.201/
.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.5
Architecture: arm64
Commit: a612c2a105
.NET SDKs installed:
9.0.306 [/usr/local/share/dotnet/sdk]
10.0.201 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 9.0.10 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 9.0.10 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
DOTNET_CLI_UI_LANGUAGE [en-US]
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 |
| av-templates |
adel-bakhshi |
3.0.1 |
adel-bakhshi.av-templates-3.0.1 |
| chatgpt |
openai |
26.422.30944 |
openai.chatgpt-26.422.30944-darwin-arm64 |
| csdevkit |
ms-dotnettools |
3.10.14 |
ms-dotnettools.csdevkit-3.10.14-darwin-arm64 |
| csharp |
ms-dotnettools |
2.130.5 |
ms-dotnettools.csharp-2.130.5-darwin-arm64 |
| csharpextensions |
kreativ-software |
1.7.3 |
kreativ-software.csharpextensions-1.7.3 |
| data-workspace-vscode |
ms-mssql |
0.6.3 |
ms-mssql.data-workspace-vscode-0.6.3 |
| gitlens |
eamodio |
17.12.2 |
eamodio.gitlens-17.12.2 |
| Ionide-fsharp |
Ionide |
7.31.1 |
ionide.ionide-fsharp-7.31.1 |
| jupyter |
ms-toolsai |
2025.9.1 |
ms-toolsai.jupyter-2025.9.1-darwin-arm64 |
| 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 |
| material-icon-theme |
PKief |
5.33.1 |
pkief.material-icon-theme-5.33.1 |
| mssql |
ms-mssql |
1.42.0 |
ms-mssql.mssql-1.42.0 |
| pdf |
tomoki1207 |
1.2.2 |
tomoki1207.pdf-1.2.2 |
| remote-containers |
ms-vscode-remote |
0.454.0 |
ms-vscode-remote.remote-containers-0.454.0 |
| sql-bindings-vscode |
ms-mssql |
0.4.1 |
ms-mssql.sql-bindings-vscode-0.4.1 |
| sql-database-projects-vscode |
ms-mssql |
1.5.9 |
ms-mssql.sql-database-projects-vscode-1.5.9 |
| sqltools |
mtxr |
0.28.5 |
mtxr.sqltools-0.28.5 |
| vim |
vscodevim |
1.32.4 |
vscodevim.vim-1.32.4 |
| vscode-containers |
ms-azuretools |
2.4.2 |
ms-azuretools.vscode-containers-2.4.2 |
| vscode-css-formatter |
aeschli |
1.0.2 |
aeschli.vscode-css-formatter-1.0.2 |
| vscode-dotnet-pack |
ms-dotnettools |
1.0.13 |
ms-dotnettools.vscode-dotnet-pack-1.0.13 |
| vscode-dotnet-runtime |
ms-dotnettools |
3.0.0 |
ms-dotnettools.vscode-dotnet-runtime-3.0.0 |
| 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 |
C# Settings
| Setting |
Value |
| preferCSharpExtension |
false |
| compilerDiagnosticScope |
openFiles |
| analyzerDiagnosticScope |
openFiles |
| enableXamlTools |
true |
| useServerGC |
true |
System Info
| Item |
Value |
| CPUs |
Apple M1 (8 x 2400) |
| GPU Status |
2d_canvas: enabled GPU0: VENDOR= 0x106b [Google Inc. (Apple)], DEVICE=0x0000 [ANGLE (Apple, ANGLE Metal Renderer: Apple M1, Version 26.4.1 (Build 25E253))], DRIVER_VENDOR=Apple, DRIVER_VERSION=26.4.1 ACTIVE Machine model name: MacBookPro Machine model version: 17.1 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: enabled_on trees_in_viz: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) |
14, 6, 5 |
| Memory (System) |
8.00GB (0.15GB free) |
| Process Argv |
--crash-reporter-id 0d876490-112f-40b7-947a-29731b2ce32a |
| Screen Reader |
no |
| VM |
0% |
A/B Experiments
vsliv368:30146709
vswsl492cf:30256860
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
6abeh943:31336334
envsactivate1:31464700
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
cp_cls_t_966_ss:31454198
inlinechat_v2_hd992725:31499106
8hhj4413:31478653
38bie571_auto:31426784
cp_cls_t_1081:31454832
conptydll_true:31498968
e9c30283:31461165
test_treatment2:31471001
c9b86496:31447327
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
534a6447:31496642
chat:31457767
dfc2j404:31500885
cpptoolsoff-v2:31475362
ghj88844:31499326
ec1eg703:31491645
client_tst_t:31495907
ddid_t:31478206
getcmakediagnosticsoff:31489825
cp_cls_c_1082:31491634
logging_enabled_new:31498466
db5d2638:31499441
748c7209:31497895
Type: Bug
Issue Description
Steps to Reproduce
Expected Behavior
Actual Behavior
Extension version: 2.130.5
VS Code version: Code 1.117.0 (Universal) (10c8e557c8b9f9ed0a87f61f1c9a44bde731c409, 2026-04-21T16:12:14-07:00)
OS version: Darwin arm64 25.4.0
Modes:
Logs
C# log
Details
C# LSP Trace Logs log
Details
Environment Information
VSCode version: 1.117.0
C# Extension: 2.130.5
Using OmniSharp: false
Dotnet Information
.NET SDK: Version: 10.0.201 Commit: 4d3023de60 Workload version: 10.0.200-manifests.0793c108 MSBuild version: 18.3.0-release-26153-122+4d3023de6Runtime Environment:
OS Name: Mac OS X
OS Version: 26.4
OS Platform: Darwin
RID: osx-arm64
Base Path: /usr/local/share/dotnet/sdk/10.0.201/
.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.5
Architecture: arm64
Commit: a612c2a105
.NET SDKs installed:
9.0.306 [/usr/local/share/dotnet/sdk]
10.0.201 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 9.0.10 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 9.0.10 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
DOTNET_CLI_UI_LANGUAGE [en-US]
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= 0x106b [Google Inc. (Apple)], DEVICE=0x0000 [ANGLE (Apple, ANGLE Metal Renderer: Apple M1, Version 26.4.1 (Build 25E253))], DRIVER_VENDOR=Apple, DRIVER_VERSION=26.4.1 ACTIVE
Machine model name: MacBookPro
Machine model version: 17.1
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: enabled_on
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments