工具“ dotnet-try”安装失败

问题描述

尝试通过运行dotnet tool install -g dotnet-try在Windows上的命令提示符下安装dotnet-try全局工具,但失败,并出现以下错误

无法为工具“ dotnet-try”创建外壳填充程序:命令“ dotnet-try”与其他工具中的现有命令冲突。 工具“ dotnet-try”无法安装。

任何帮助将不胜感激。

解决方法

以下是用于 安装,卸载 更新 dotnet-try 的最新命令>

要安装

> dotnet tool install -g Microsoft.dotnet-try

要卸载

> dotnet tool uninstall -g Microsoft.dotnet-try

要更新

> dotnet tool update -g Microsoft.dotnet-try