Description
Type: Bug
Issue Description
Installed the latest VS Code with C# and C# Dev Kit and now getting that it cannot find the .NET Core SDK.
Steps to Reproduce
Open VSCode
Expected Behavior
It finds the .NET SDK.
Actual Behavior
It is unable to find the .NET SDK.
Here is the error.
The .NET Core SDK cannot be located: Error running dotnet --info: Error: Command failed: dotnet --info /bin/sh: dotnet: command not found /bin/sh: dotnet: command not found . .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.
Logs
C# log
C# LSP Trace Logs
Environment information
VSCode version: 1.101.0-insider
C# Extension: 2.72.34
Using OmniSharp: false
Dotnet Information
.NET SDK: Version: 9.0.300 Commit: 15606fe0a8 Workload version: 9.0.300-manifests.a3474b72 MSBuild version: 17.14.5+edd3bbf37Runtime Environment:
OS Name: Mac OS X
OS Version: 15.5
OS Platform: Darwin
RID: osx-arm64
Base Path: /usr/local/share/dotnet/sdk/9.0.300/
.NET workloads installed:
There are no installed workloads to display.
Configured to use loose manifests when installing new manifests.
Host:
Version: 9.0.5
Architecture: arm64
Commit: e36e4d1a8f
.NET SDKs installed:
8.0.407 [/usr/local/share/dotnet/sdk]
8.0.408 [/usr/local/share/dotnet/sdk]
9.0.201 [/usr/local/share/dotnet/sdk]
9.0.202 [/usr/local/share/dotnet/sdk]
9.0.203 [/usr/local/share/dotnet/sdk]
9.0.300 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.33 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.20 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.14 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.15 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.3 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.33 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.20 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.14 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.15 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.3 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.4 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
Not set
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 |
---|---|---|---|
azure-dev | ms-azuretools | 0.9.0 | ms-azuretools.azure-dev-0.9.0 |
azure-pipelines | ms-azure-devops | 1.249.0 | ms-azure-devops.azure-pipelines-1.249.0 |
azurecli | ms-vscode | 0.6.0 | ms-vscode.azurecli-0.6.0 |
blazortemplatewizard | TelerikInc | 2.18.0 | telerikinc.blazortemplatewizard-2.18.0 |
chatgpt | openai | 0.1.1741291060 | openai.chatgpt-0.1.1741291060-darwin-arm64 |
claude-dev | saoudrizwan | 3.16.1 | saoudrizwan.claude-dev-3.16.1 |
codeium | Codeium | 1.47.1 | codeium.codeium-1.47.1 |
copilot | GitHub | 1.322.1574 | github.copilot-1.322.1574 |
copilot-chat | GitHub | 0.28.2025052001 | github.copilot-chat-0.28.2025052001 |
csdevkit | ms-dotnettools | 1.19.63 | ms-dotnettools.csdevkit-1.19.63-darwin-arm64 |
csharp | ms-dotnettools | 2.72.34 | ms-dotnettools.csharp-2.72.34-darwin-arm64 |
docker | docker | 0.6.0 | docker.docker-0.6.0-darwin-arm64 |
dotnet-maui | ms-dotnettools | 1.9.21 | ms-dotnettools.dotnet-maui-1.9.21-darwin-arm64 |
LiveServer | ritwickdey | 5.7.9 | ritwickdey.liveserver-5.7.9 |
MAUI-UI-Kit-VSCode-Extensions | SyncfusionInc | 2.0.2 | syncfusioninc.maui-ui-kit-vscode-extensions-2.0.2 |
MAUI-VSCode-Extensions | SyncfusionInc | 29.2.4 | syncfusioninc.maui-vscode-extensions-29.2.4 |
microsoft-testing | ms-azure-load-testing | 0.1.14 | ms-azure-load-testing.microsoft-testing-0.1.14 |
npm-intellisense | christian-kohler | 1.4.5 | christian-kohler.npm-intellisense-1.4.5 |
roo-cline | RooVeterinaryInc | 3.17.2 | rooveterinaryinc.roo-cline-3.17.2 |
telerik-maui-productivity-tools | TelerikInc | 1.5.0 | telerikinc.telerik-maui-productivity-tools-1.5.0 |
vscode-ai | ms-toolsai | 1.3.2025040809 | ms-toolsai.vscode-ai-1.3.2025040809 |
vscode-ai-foundry | TeamsDevApp | 0.5.0 | teamsdevapp.vscode-ai-foundry-0.5.0 |
vscode-ai-remote | ms-toolsai | 1.5.2025040809 | ms-toolsai.vscode-ai-remote-1.5.2025040809 |
vscode-aks-tools | ms-kubernetes-tools | 1.6.8 | ms-kubernetes-tools.vscode-aks-tools-1.6.8 |
vscode-azure-github-copilot | ms-azuretools | 1.0.0 | ms-azuretools.vscode-azure-github-copilot-1.0.0-darwin-arm64 |
vscode-azureappservice | ms-azuretools | 0.26.1 | ms-azuretools.vscode-azureappservice-0.26.1 |
vscode-azurecontainerapps | ms-azuretools | 0.8.2 | ms-azuretools.vscode-azurecontainerapps-0.8.2 |
vscode-azurefunctions | ms-azuretools | 1.17.3 | ms-azuretools.vscode-azurefunctions-1.17.3 |
vscode-azureresourcegroups | ms-azuretools | 0.10.11 | ms-azuretools.vscode-azureresourcegroups-0.10.11 |
vscode-azurestaticwebapps | ms-azuretools | 0.13.1 | ms-azuretools.vscode-azurestaticwebapps-0.13.1 |
vscode-azurestorage | ms-azuretools | 0.16.4 | ms-azuretools.vscode-azurestorage-0.16.4 |
vscode-azurevirtualmachines | ms-azuretools | 0.6.8 | ms-azuretools.vscode-azurevirtualmachines-0.6.8 |
vscode-cosmosdb | ms-azuretools | 0.26.0 | ms-azuretools.vscode-cosmosdb-0.26.0 |
vscode-docker | ms-azuretools | 1.29.6 | ms-azuretools.vscode-docker-1.29.6 |
vscode-dotnet-runtime | ms-dotnettools | 2.3.3 | ms-dotnettools.vscode-dotnet-runtime-2.3.3 |
vscode-github-actions | github | 0.27.1 | github.vscode-github-actions-0.27.1 |
vscode-kubernetes-tools | ms-kubernetes-tools | 1.3.23 | ms-kubernetes-tools.vscode-kubernetes-tools-1.3.23 |
vscode-node-azure-pack | ms-vscode | 1.6.0 | ms-vscode.vscode-node-azure-pack-1.6.0 |
vscode-yaml | redhat | 1.18.0 | redhat.vscode-yaml-1.18.0 |
windows-ai-studio | ms-windows-ai-studio | 0.14.0 | ms-windows-ai-studio.windows-ai-studio-0.14.0-darwin-arm64 |
Extension version: 2.72.34
VS Code version: Code - Insiders 1.101.0-insider (Universal) (ccdd214171190f69e28c8c3def68a6315f4d9ae0, 2025-05-20T07:09:03.342Z)
OS version: Darwin arm64 24.5.0
Modes:
System Info
Item | Value |
---|---|
CPUs | Apple M4 Max (16 x 2400) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: enabled_on 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 video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
Load (avg) | 4, 5, 8 |
Memory (System) | 128.00GB (90.31GB free) |
Process Argv | --log trace --crash-reporter-id f8b0c148-d22f-41e3-83e3-1e74f00dc79a |
Screen Reader | no |
VM | 0% |
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt551:31249597
vscod805cf:30301675
vscaac:30438845
c4g48928:30535728
a9j8j154:30646983
962ge761:30841072
dsvsc014:30777825
dsvsc015:30821418
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:30980852
dwnewjupytercf:31046870
pythonrstrctxt:31093868
nativeloc1:31118317
e80f6927:31120813
dwcopilot:31158714
5b1c1929:31184661
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
hdaa2157:31222309
copilot_t_ci:31222730
g012b348:31231168
pythoneinst12:31251391
bgtreat:31252123
c7cif404:31309980
pythonpulldiag:31287486
6gi0g917:31259950
editoredits36407:31282444
996jf627:31264550
pythonrdcb7:31268811
usemplatestapi:31297334
8ge78292:31309974
747dc170:31275146
pythonfullctx:31296836
6518g693:31302842
pylancecolor:31288664
generatesymbolt:31280541
convertfstringf:31280702
gendocf:31280703
pylancequickfixt:31311477
ajf51753:31312179
923gi514:31310909
j97ad248:31306657
gg03i777:31307743
convertlamdaf:31311570