无法执行 dotnet swagger 命令 [英] Could not execute dotnet swagger command
本文介绍了无法执行 dotnet swagger 命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试执行 dotnet swagger
命令,但收到一条错误消息:
I'm trying to execute the dotnet swagger
command but received an error message:
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) 工具已全局安装.
- 已设置工具的 PATH.
我做错了什么,我该如何解决?
What am I doing wrong and how can I fix it?
推荐答案
命令不再是 dotnet swagger
.它只是 swagger
.
The command is no longer dotnet swagger
. It is swagger
only.
这篇关于无法执行 dotnet swagger 命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文