microsoft / microsoft/vscode-dotnettools

[BUG] Unable to find .NET Core SDK after download

Open
#2,247 12 comments 0 reactions 1 assignee View on GitHub

@nagilson is already working on this.

Since Aug 14, 2025.

area-dotnet-acquisition area-sdk bug
Dominant language
No language data
Stars
321
Forks
54
Avg merge
2d 19h
Merged PRs (30d)
2

Description

Describe the Issue

I'm trying to use C# Dev Kit for an Azure tutorial, I downloaded the Core 8 SDK however the extension was unable to find it in my file path. I used the extension to download the Core 9 path and restarted VS Code per the extension's instructions, however I'm still getting the error that the extension is unable to find the SDK. I'm using macOS Sequoia 15.6, not sure what steps I have to take to get the extension to find the SDK.

Steps To Reproduce
  1. Fresh install of VS Code
  2. Download .NET Core 8
  3. Install C# Dev Kit extension on VS Code
  4. See 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.
Expected Behavior

I expect the extension to find the SDK I downloaded using the extension's download tool

Environment Information

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.