dotnet tool install:Failed to install tool package 'ZKEACMS.Publisher': Could not find a part of the path 'C:\Users\Christer\.dotnet\tools\.store\.stage\0qd2mqpa.m45\ZKEACMS.Publisher'

问题

按照 ZKEACMS 运行命令

dotnet tool install --global ZKEACMS.Publisher

提示

Failed to install tool package ‘ZKEACMS.Publisher‘: Could not find a part of the path ‘C:\Users\Christer\.dotnet\tools\.store\.stage\0qd2mqpa.m45\ZKEACMS.Publisher‘.
Tool ‘ZKEACMS.Publisher‘ 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.

解决办法

我电脑上已经卸载dotnet SDK 2.2.207,但环境变量MSBuildSDKsPath的值还是C:\Program Files\dotnet\sdk\2.2.207

删除环境变量中的MSBuildSDKsPath,一切正常

参考

Unable to install any tools using dotnet tool install #11440

dotnet tool install:Failed to install tool package 'ZKEACMS.Publisher': Could not find a part of the path 'C:\Users\Christer\.dotnet\tools\.store\.stage\0qd2mqpa.m45\ZKEACMS.Publisher'

原文地址:https://www.cnblogs.com/Zev_Fung/p/12142871.html

时间: 2024-09-28 22:27:42

dotnet tool install:Failed to install tool package 'ZKEACMS.Publisher': Could not find a part of the path 'C:\Users\Christer\.dotnet\tools\.store\.stage\0qd2mqpa.m45\ZKEACMS.Publisher'的相关文章

2016.6.29 tomcat卸载后在安装出现错误:failed to install tomcat7 service

错误如下: 错误原因: 直接删除了安装目录,而不是点击卸载(包含删除服务) 因此在此安装时,显示安装服务失败(因为已经存在了) 解决办法: (1)手动删除注册表 regedit.exe,找到HKEY_LOCAL_MACHINE\SYSTEM 删除tomcat服务(tomcat7) (2)重启电脑(就是因为没重启,耽误我半个小时找原因)   (3)查看服务已经不存在 在开始菜单里输入services.msc,可以看到已经没有tomcat服务了.

win10(64位)下memcache安装时报错“ failed to install service or service already installed”

环境: win8(64位)系统 错误提示: failed to install service or service already installed 解决办法: 1.找到cmd.exe文件(c:\windows\system32\cmd.exe) 2.右键cmd.exe以管理员方式运行

Failed to install on device ‘emulator-5554′: timeout

启动android模拟器时候如果提示:Failed to install on device ‘emulator-5554′: timeout 这是可能因为卡的原因导致启动超时,解决办法:eclipse -> window -> Preferences -> Android -> DDMS -> ADB connection time out(ms).把这个时间设置的长一些,默认是5秒即5000ms, 我改成10秒就ok了.这样就不用每次重启模拟器了.具体时间设置根据实际环境

Maven install 报错: Failed to execute goalorg.apache.maven.plugins:maven-gpg-plugin:1.4:sign (sign-art

执行 Maven install 时报错: Failed to execute goalorg.apache.maven.plugins:maven-gpg-plugin:1.4:sign (sign-artifacts)on project openstack-java-sdk: Cannot obtain passphrase in batchmode -> [Help 1] 如下: [INFO] BUILD FAILURE[INFO]----------------------------

针对maven install 报错:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1 解决方案

项目运行环境:jdk1.8+tomcat8 maven install 时报错:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1 造成此错误的原因也比较多,下面分2种情况: 情况1(常见):你可能编译在一个JRE而不是JDK上,maven 编译是要JDK的,即你的编译器配置了一个jre路径,需要换成jdk. 操作:window→preference→java→Installed JREs 点add添

词云:解决pip install wordcloud安装过程中报错“error: command 'x86_64-linux-gnu-gcc' failed with exit status 1”问题

外部环境:ubuntu16.04, 64bits, 全局环境python2.7 在虚拟环境(python3.5)中执行 pip install wordcloud 时安装失败,报错: error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- Failed building wheel for wordcloud Running setup.py

SDK Manager failed to install 'java.exe' locking directory

转自:http://stackoverflow.com/questions/13587478/sdk-manager-failed-to-install-java-exe-locking-directory I have ran into a curious error when trying to update Android SDK Tools to revision 21 from revision 20.0.3. The ADT plug-in updated properly so n

Android Studio 1.5启动出现“SDK Manager: failed to install”问题的解决

问题描述 Android Studio 1.5是当前最新Android手机应用开发平台,下载bundle版安装后,启动Studio后出现“SDK Manager: failed to install”问题.详细信息如下: Android SDK was installed to C:\Users\jack\AppData\Local\Android\sdk Installing Archives:  Preparing to install archives  Installing SDK Pl

Failed to install xxxx.apk on device 'emulator-5554!

异常信息:[HelloAndroid] Performing com.example.helloandroid.HelloAndroid activity launch[HelloAndroid] Uploading HelloAndroid.apk onto device 'emulator-5554'[HelloAndroid] Installing HelloAndroid.apk...[HelloAndroid] Failed to install HelloAndroid.apk on