Ich habe versucht, Visual Studio Code als IDE zu verwenden. Als ich den Befehl „add-migrations“ verwenden musste, stieß ich auf die Situation, den Befehl „dotnet ef migrations add name“ zu verwenden, aber wenn ich versuche, diesen Befehl zu verwenden, erhalte ich die Fehlermeldung:
dotnet : Could not execute because the specified command or file was not found.
At line:1 char:1
+ dotnet ef
+ ~~~~~~~~~
+ CategoryInfo : NotSpecified: (Could not execu... was not found.:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
Possible reasons for this include:
* You misspelled a built-in dotnet command.
* You intended to execute a .NET Core program, but dotnet-ef does not exist.
* You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
Ich habe mehrere Lösungen ausprobiert und keine hat funktioniert. Gibt es einen Ausweg?
Ich verwende .NET Core 2.2.
Ich habe versucht, Visual Studio Code als IDE zu verwenden. Als ich den Befehl „add-migrations“ verwenden musste, stieß ich auf die Situation, den Befehl „dotnet ef migrations add name“ zu verwenden, aber wenn ich versuche, diesen Befehl zu verwenden, erhalte ich die Fehlermeldung: dotnet : Could not execute because the specified command or file was not found. At line:1 char:1 + dotnet ef + ~~~~~~~~~ + CategoryInfo : NotSpecified: (Could not execu... was not found.:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError
Possible reasons for this include: * You misspelled a built-in dotnet command. * You intended to execute a .NET Core program, but dotnet-ef does not exist. * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
Ich habe mehrere Lösungen ausprobiert und keine hat funktioniert. Gibt es einen Ausweg? Ich verwende .NET Core 2.2.
Ich versuche, ein ASP.NET -Kern -Web -API -Projekt in meinem Linux -System (Ubuntu 22.04) zu erstellen und mit dem Befehl dotnet restore oder dotnet New ein Problem zu stellen: Der Prozess bleibt...
Ich habe eine Aspnetcore-Webanwendung und möchte, dass sie beim Start ihre aktuelle Version sowie die Dotnet Core-Laufzeitversion, auf der sie ausgeführt wird, in ihr Protokoll schreibt.
Ich bin irgendwie neu im Bereich .NET. Ich habe viel gesucht, aber ich konnte keine einfache und unkomplizierte Erklärung für .NET finden (auch mit Mitteln aller anderen Namen von Versionen, wie auch...
Ich möchte Kafka, Zookeeper und meine 2 Dienste in verschiedenen Containern betreiben. Ich muss lernen, wie Message Broker funktioniert. Aber ich habe in dieser Situation geblieben. Beim Ausführen...
Verwenden eines Raspberry Pi Zero 2W, mit Ubuntu Bookworm Lite, habe ich 2 Programme, eine in Python und eine in C#. Beide tun dasselbe (ich wechsle zwischen dem und dem anderen zum Testen):...