dotnet tool 无法安装的问题

本文记录了在安装ABPCLI过程中遇到的错误及解决方案。主要问题是未能找到指定路径,导致工具安装失败。通过调整环境变量配置,移除MSBuildSDKsPath,成功解决了安装问题。
部署运行你感兴趣的模型镜像

昨天在使用安装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干掉就可以了。如果不行就再重启一下。

您可能感兴趣的与本文相关的镜像

EmotiVoice

EmotiVoice

AI应用

EmotiVoice是由网易有道AI算法团队开源的一块国产TTS语音合成引擎,支持中英文双语,包含2000多种不同的音色,以及特色的情感合成功能,支持合成包含快乐、兴奋、悲伤、愤怒等广泛情感的语音。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值