dotnet / website-feedback

This repo is for dot.net feedback including get started tutorial issues from the site.
MIT License
0 stars 1 forks source link

Not getting installed #230

Open skodavanti1 opened 1 week ago

skodavanti1 commented 1 week ago

URL

https://dotnet.microsoft.com/en-us/learn/aspnet/microservice-tutorial/install

Operating system

windows

More information about your system

windows 11, x64

Description

Installation says completed, but nothing is getting installed.

Getting the following message.

dotnet --version Could not execute because the application was not found or a compatible .NET SDK is not installed. Possible reasons for this include:

  • You intended to execute a .NET program: The application '--version' does not exist.
  • You intended to execute a .NET SDK command: It was not possible to find any installed .NET SDKs. Install a .NET SDK from: https://aka.ms/dotnet-download

dotnet --info

dotnet --info

Host (useful for support): Version: 6.0.3 Commit: c24d9a9c91

.NET SDKs installed: No SDKs were found.

.NET runtimes installed: Microsoft.AspNetCore.App 6.0.3 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 6.0.3 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 6.0.3 [C:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]

To install additional .NET runtimes or SDKs: https://aka.ms/dotnet-download

mairaw commented 1 week ago

@skodavanti1 you ommited certain parts of the dotnet --info results that would help with the debugging.

what additional host information did it show? architecture and RID specifically. did it show other architectures found as well?

trying to check whether you might have an issue with PATH.

Type the command where.exe dotnet and see if x86 is returned first. If so, follow the instructions at https://github.com/dotnet/core/issues/5962#issuecomment-780084535.