Start Debugging
2023-06-14 Aktualisiert 2023-11-05 dotnet Edit on GitHub

dotnet new api -aot: '-aot' is not a valid option

Beheben Sie den Fehler '-aot is not a valid option', indem Sie die korrekte Syntax mit doppeltem Bindestrich verwenden: dotnet new api --aot.

Die korrekte Syntax zum Erzeugen eines Projekts mit AOT lautet --aot (mit 2 Bindestrichen). In diesem konkreten Fall lautet der korrekte Befehl:

dotnet new api --aot

Comments

Sign in with GitHub to comment. Reactions and replies thread back to the comments repo.

< Zurück