Start Debugging
2023-06-14 更新日 2023-11-05 dotnet Edit on GitHub

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

'-aot is not a valid option' エラーは、ハイフン 2 個の正しい構文 dotnet new api --aot を使うことで解消できます。

AOT 付きでプロジェクトを生成する正しい構文は --aot (ハイフン 2 個) です。この場合、正しいコマンドは次のとおりです。

dotnet new api --aot

Comments

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

< 戻る