我一直在尝试解决Visual Studio Code中出现的以下错误,感到非常沮丧:
The term 'dotnet' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:7 + dotnet <<<< --info
+ CategoryInfo : ObjectNotFound: (dotnet:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
我已经进行了广泛的研究,但并未找到解决方法。我尝试了许多其他人的解决方法,但错误仍然存在。我已经安装、修复和卸载了必要的安装文件数次……但错误仍然存在!
我的操作系统是Win7 Pro,已更新至最新版本。使用的软件为VS Code 1.28.2和NET Core SDK 2.1.403。
期待您的任何建议/指针/见解。