Home > Mobile >  It was not possible to run: dotnet run in visual studio code (macOS)
It was not possible to run: dotnet run in visual studio code (macOS)

Time:01-17

I have installed:

Host (useful for support):
  Version: 6.0.1
  Commit:  3a25a7f1cc

.NET SDKs installed:
  No SDKs were found.

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

but, when I run: dotnet run show this message ->

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 'run' 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

if you have any suggestion how to fix it and run API? Best!

  •  Tags:  
  • Related