dotnet / dotnet/sdk

Installing DotNet CLI via winget not working - Dotnet CLI missing

Open
#41,878 6 comments 0 reactions 0 assignees View on GitHub
Area-Install untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

### Describe the bug
I used the winget command `winget install Microsoft.DotNet.SDK.8` to install .NET 8 on a fresh windows install, but it failed to install the dotnet cli. It created the dotnet folder under C:\Program Files\dotnet but the executable is missing.
![image](https://github.com/dotnet/sdk/assets/10726046/5e1b9b9b-36d4-4390-8a82-5fe54a166ed8)

### To Reproduce
- Fresh Win11 install
- Run `winget install Microsoft.DotNet.SDK.8`
- Navigate to `C:\Program Files\dotnet`
- dotnet cli is missing

### Exceptions (if any)
No errors occured

### Further technical details
- Include the output of `dotnet --info`
- Unable to run this obviously
- The IDE (VS / VS Code/ VS4Mac) you're running on, and its version
- Win11 with latest updates

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.