dotnet / core

.NET news, announcements, release notes, and more!
https://dot.net
MIT License
20.95k stars 4.9k forks source link

Create project command not working #7695

Closed inurdin closed 2 years ago

inurdin commented 2 years ago

Problem encountered on https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/create Operating System: macos

I am using MacOS 12.4 Monterey on Apple Silicon

The installer seems to skip installing any SDKs:

❯ dotnet --info
  It was not possible to find any installed .NET Core SDKs
  Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
      https://aka.ms/dotnet-download

Host (useful for support):
  Version: 3.1.9
  Commit:  774fc3d6a9

.NET Core SDKs installed:
  No SDKs were found.

.NET Core runtimes installed:
  Microsoft.NETCore.App 3.1.9 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

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

This causes the create project command to fail:

❯ dotnet new blazorserver -o BlazorApp --no-https -f net6.0
  It was not possible to find any installed .NET Core SDKs
  Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
      https://aka.ms/dotnet-download

I tried to install Visual Studio for Mac, which includes the dotnet SDK (https://visualstudio.microsoft.com/vs/mac/), and it works, though it requires larger hard disk space for installation

buyaa-n commented 2 years ago

@inurdin what error / issue did you see in the previous Download and install step https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/install?

github-actions[bot] commented 2 years ago

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

github-actions[bot] commented 2 years ago

This issue was closed because there was no response to a request for more information for 10 days.