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

No SDK installed #212

Open Zoro263 opened 2 months ago

Zoro263 commented 2 months ago

URL

https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/create

Operating system

windows

More information about your system

No response

Description

No installed .NET SDK was found on the computer. If it is installed, make sure it can be found through the PATH environment variable. C# Dev Kit does not work without a supported version of SDK. After installing the SDK, you need restart the VS Code session, or the computer.

dotnet --info

Host: Version: 8.0.7 Architecture: x86 Commit: 2aade6beb0 RID: win-x86

.NET SDKs installed: No SDKs were found.

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

Other architectures found: x64 [C:\Program Files\dotnet] registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x64\InstallLocation]

Environment variables: Not set

global.json file: Not found

Learn more: https://aka.ms/dotnet/info

Download .NET: https://aka.ms/dotnet/download

mairaw commented 2 months ago

@Zoro263 can you confirm what's your windows architecture? is it x64?

The dotnet --info results above show that you might have an issue with PATH.

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

Let me know if this solves your issue!

github-actions[bot] commented 1 month ago

This issue is stale because there has been no response to a request for more information for 7 days.