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

Error when creating a new project С# #180

Closed stnikan closed 2 months ago

stnikan commented 5 months ago

URL

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

Operating system

windows

More information about your system

No response

Description

image

dotnet --info

PS D:\My_github\test_provod\Wire-Tester-user-interface> dotnet --info

Host (useful for support): Version: 5.0.17 Commit: 6a98414363

.NET SDKs installed: No SDKs were found.

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

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

stnikan commented 4 months ago

I apologize for my English

I was able to fix it!!!!

"dotnet --info" did not work due to a conflict between two versions in different folders, try to check where "dotnet" is located. image If there are two possible paths, then an extra one has been installed .NET SDK I deleted the additional version from the Program Files (x86) folder After that, everything worked

mairaw commented 2 months ago

You most likely were having an issue with PATH. Here's another possible solution to fix this: https://github.com/dotnet/core/issues/5962#issuecomment-780084535

I'm glad it's working now.