找不到与命令“dotnet-tool"匹配的可执行文件 [英] No executable found matching command "dotnet-tool"

查看:34
本文介绍了找不到与命令“dotnet-tool"匹配的可执行文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从 官方网站安装 Fake使用以下命令(在网站上提供):

I'm trying to install Fake from the official site with the following command (provided at the site):

dotnet tool install fake-cli -g

但我收到以下错误:

No executable found matching command "dotnet-tool"

我的 dotnet 版本是 2.1.201,并且我运行的是 Windows 10 Professional,具有所有最新更新.

My dotnet version is 2.1.201, and I am running Windows 10 Professional, with all of the latest updates.

推荐答案

dotnet tool 命令仅随 .NET Core SDK 版本 2.1.300 及更高版本一起安装.您需要更新您的 SDK 才能使用此命令.

The dotnet tool command is only installed with the release of .NET Core SDK version 2.1.300 and later. You need to update your SDK to make this command available.

这篇关于找不到与命令“dotnet-tool"匹配的可执行文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆