Skip to content

C# Dev Kit requires 2.147.94 or greater #9783

Description

@KyleSlusser

Type: Bug

Issue Description

The latest version of the C# Dev Kit appears to require 2.147.94 or higher, but 2.147.94 is currently listed as a pre-release. While I can get around the error by installing the pre-release, it would be nice if the requirement was satisfied by the latest stable release.

Maybe it's currently being built and deployed, but wanted to report it either way.

Steps to Reproduce

Update C# Dev Kit to the latest version 3.40.204 (happened automatically to me when VS code updated to 1.138.0)

Expected Behavior

The C# Dev Kit loads up without error and C# features work out of the box (intellisense, find references, etc).

Actual Behavior

The below warning is displayed and cannot be satisfied even by clicking the "Upgrade" button.

Extension version: 2.140.9
VS Code version: Code 1.138.0 (7debcd0e2acdea1c52de81bf9ee1620444407dda, 2026-09-15T07:24:32Z)
OS version: Windows_NT x64 10.0.26200
Modes:

Logs

C# log

Details
2026-09-17 15:10:20.678 [info] Locating .NET runtime version 10.0.5
2026-09-17 15:10:22.206 [info] Dotnet path: C:\Program Files\dotnet\dotnet.exe
2026-09-17 15:10:22.206 [info] Activating C# + C# Dev Kit...
2026-09-17 15:10:22.915 [info] info: Program[0]
2026-09-17 15:10:22.915 [info]       Server started with process ID 47620
2026-09-17 15:10:23.886 [info] [Program] Language server initialized
2026-09-17 15:10:23.906 [info] [Program] Monitoring client process 34436 for exit
2026-09-17 15:10:24.583 [info] [initialized] [Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.FileBasedProgramsEntryPointDiscovery] Finished discovery in 'c:\dev\TestCore' in 11 milliseconds
2026-09-17 15:10:25.524 [info] [textDocument/_vs_getProjectContexts] [Microsoft.CodeAnalysis.MSBuild.BuildHostProcessManager] .NET BuildHost started from c:\Users\SLUKY\.vscode\extensions\ms-dotnettools.csharp-2.140.9-win32-x64\.roslyn\Microsoft.CodeAnalysis.LanguageServer.exe reloading to start from C:\Program Files\dotnet\dotnet.exe to match necessary SDK location.
2026-09-17 15:10:26.464 [warning] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Project C:\Users\SLUKY\AppData\Local\Temp\roslyn-canonical-misc\f6c1df2a-377c-496f-bb5a-27288833e837\Canonical.csproj has unresolved dependencies
2026-09-17 15:10:26.545 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Successfully completed load of c:\dev\TestCore\Program.cs
2026-09-17 15:10:26.568 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Restoring Canonical.csproj: Running dotnet restore on C:\Users\SLUKY\AppData\Local\Temp\roslyn-canonical-misc\f6c1df2a-377c-496f-bb5a-27288833e837\Canonical.csproj
2026-09-17 15:10:26.568 [info] [textDocument/_vs_getProjectContexts] [Microsoft.CodeAnalysis.LanguageServer.DotnetCliHelper] Using dotnet executable configured on the PATH
2026-09-17 15:10:27.193 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Restoring Canonical.csproj:   Determining projects to restore...
2026-09-17 15:10:27.431 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Restoring Canonical.csproj:   Restored C:\Users\SLUKY\AppData\Local\Temp\roslyn-canonical-misc\f6c1df2a-377c-496f-bb5a-27288833e837\Canonical.csproj (in 57 ms).
2026-09-17 15:10:27.489 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Restore complete
2026-09-17 15:10:27.490 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:02.3532187
2026-09-17 15:10:27.967 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Successfully completed load of c:\dev\TestCore\Program.cs
2026-09-17 15:10:27.967 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:00.0106988

C# LSP Trace Logs log

Details

Environment Information

VSCode version: 1.138.0
C# Extension: 2.140.9
Using OmniSharp: false

Dotnet Information .NET SDK: Version: 10.0.401 Commit: e34a38d2ae Workload version: 10.0.400-manifests.b0700452 MSBuild version: 18.9.11+e34a38d2a

Runtime Environment:
OS Name: Windows
OS Version: 10.0.26200
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\10.0.401\

.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.12
Architecture: x64
Commit: 95017c711e

.NET SDKs installed:
9.0.318 [C:\Program Files\dotnet\sdk]
10.0.401 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.30 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.31 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.35 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.30 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.31 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.35 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.30 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.31 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.20 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 10.0.12 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.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]

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
asp-classic-support zbecknell 0.6.1 zbecknell.asp-classic-support-0.6.1
csdevkit ms-dotnettools 3.40.204 ms-dotnettools.csdevkit-3.40.204-win32-x64
csharp ms-dotnettools 2.140.9 ms-dotnettools.csharp-2.140.9-win32-x64
dotnet-test-explorer formulahendry 0.7.8 formulahendry.dotnet-test-explorer-0.7.8
EditorConfig EditorConfig 0.18.2 editorconfig.editorconfig-0.18.2
explorer vitest 1.52.0 vitest.explorer-1.52.0
gitlens eamodio 19.1.0 eamodio.gitlens-19.1.0
markdown-checkbox bierner 0.4.0 bierner.markdown-checkbox-0.4.0
material-icon-theme PKief 5.38.1 pkief.material-icon-theme-5.38.1
npm-intellisense christian-kohler 1.4.5 christian-kohler.npm-intellisense-1.4.5
pretty-ts-errors YoavBls 0.8.7 yoavbls.pretty-ts-errors-0.8.7
vscode-dotnet-runtime ms-dotnettools 3.1.0 ms-dotnettools.vscode-dotnet-runtime-3.1.0
vscode-intelephense-client bmewburn 1.18.5 bmewburn.vscode-intelephense-client-1.18.5
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 265U (14 x 3379)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x8086, DEVICE=0x7d41 [Intel(R) Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=32.0.101.8860 ACTIVE
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8972
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
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.46GB (6.35GB free)
Process Argv --folder-uri file:///c%3A/dev/TestCore --crash-reporter-id ffd9c665-50ea-4fee-bf6a-5a6c9d2b2141
Screen Reader no
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
envsactivate1:31551504
478i5457:31544283
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
8hhj4413:31478653
ge8j1254_inline_auto_hint_haiku:31490510
cp_cls_c_1081:31454833
conptydll_true:31498968
e9c30283:31461165
46204921:31447328
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31518289
i2gc6536:31499202
52612955:31516516
ec1eg703:31520046
ddid_t:31478206
hmra_i5g22:31518061
l_j1ci3728:31580635
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
db5d2638:31499441
jb_cp_cls_t_632:31543129
56dj4588:31512888
32d76977:31512328
ha629193:31508444
a1ije391_t:31540920
jbcp_cls_pctr_t:31531130
cp_intellij_t_nes:31548657
jf4hg949:31526829
ahp-both-windows:31556933
ihg5j128:31534457
7g2b5551:31542111
enable_editor_pane_layout:31569726
allow-none:31555437
ac562147:31564510
c7c27ce7:31554789
1h923230:31564177
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0d8dfbc3:31570291
switchtoauto:31559321
0c1h4866:31566224
session-archive:31558132
5b8j3302:31564601
autotiers:31584978
mangle-name-control:31572633
allow-signed-out:31584137
intellij_nes_preview_t:31580086
39a5d156:31574986
0ec91c74:31585910
soft:31581111
links-control:31581629
aw-autom-on:31583758
revealsession_treatment_7ed7e840:31582194
4ab0b639:31584543
codex-agent-host-stable-control:31585316
66c8a39e-e7a5-4b4c-a3c0-41b161c795c4:31586113
permission_prompt_control:1332567
ccr_pr_nudge_adoption:1319471
vsc_wsm_t:1340632
cfee5631:1379228
3aced641:1389836

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C#DKThe C#DK extension is installeduntriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions