1

我正在尝试执行该dotnet swagger命令,但收到一条错误消息:

Could not execute because the specified command or file was not found.
Possible reasons for this include:
  * You misspelled a built-in dotnet command.
  * You intended to execute a .NET Core program, but dotnet-swagger 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.
  • swashbuckle.aspnetcore.cli (5.0.0) 工具是全局安装的。
  • 工具的路径已设置。

我做错了什么,我该如何解决?

4

1 回答 1

3

命令不再dotnet swagger。它swagger只是。

在此处输入图像描述

于 2020-01-20T09:30:58.543 回答