【发布时间】:2022-11-21 21:02:01
【问题描述】:
此 DotNet CLI 命令“dotnet new webapi -o RESTfulAPIName”中的 -o 是什么? DotNet Core SDK 版本是 6.0.403,它可能很傻,但我仍然想知道,即使在 MSDN 上也找不到它。
【问题讨论】:
-
您是否尝试过
dotnet new --help查看选项列表?couldn't found it anywhere even not on MSDN.不是这样的。该选项在所有教程、dotnet命令本身和the dotnet tool's commandline options page 中都有描述 -
我确实尝试过“dotnet new webapi -h”,但没有尝试过“dotnet new -h”,非常感谢。
标签: c# asp.net .net asp.net-web-api