dotnet tool 无法安装的问题

13 篇文章 0 订阅

昨天在使用安装ABP CLI的时候遇到安装不了的问题。如下:

Failed to install tool package 'Volo.Abp.Cli': Could not find a part of the path 'C:\Users\admin\.dotnet\tools\.store\.stage\0qd2mqpa.m45\Volo.Abp.Cli'.
Tool 'Volo.Abp.Cli' failed to install. This failure may have been caused by:

* You are attempting to install a preview release and did not use the --version option to specify the version.
* A package by this name was found, but it was not a .NET Core tool.
* The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
* You mistyped the name of the tool.

解决方案:
把环境变量配置里面的MSBuildSDKsPath干掉就可以了。如果不行就再重启一下。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值