.NET Core beheben: Could not execute because the application was not found or a compatible .NET SDK is not installed.
Problem:
Sie versuchen, einen .NET-Core-Befehl auszuführen, z.B. mit
example-3.sh
aber Sie sehen diese Fehlermeldung:
example-2.txt
Possible reasons for this include:
* You intended to execute a .NET program:
The application 'new' 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-downloadLösung
Sie haben kein .NET Core SDK installiert, nur den .NET Core-Host.
Installieren Sie das SDK mit z.B. (dieser Befehl funktioniert auf Debian & Ubuntu)
example-1.sh
Möglicherweise müssen Sie die korrekte Version auswählen (5.0 in diesem Beispiel).
Check out similar posts by category:
C#
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow