标签:mis pac option bec this 解决办法 msbuild ase net
按照 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
标签:mis pac option bec this 解决办法 msbuild ase net
原文地址:https://www.cnblogs.com/Zev_Fung/p/12142871.html