gpt4 book ai didi

c++ - 在 Visual Studio Code 2017 中 : msbuild : The term 'msbuild' is not recognized as the name of a cmdlet

转载 作者:太空狗 更新时间:2023-10-29 20:01:59 27 4
gpt4 key购买 nike

 msbuild : The term 'msbuild' is not recognized as the name of a cmdlet,
function, script file, or operable program.

就我的谷歌搜索而言,Visual Code 应该与 MSbuild 一起提供。我已经安装了 C/C++ 和 msbuild 工具扩展,但没有用。我能做什么?

编辑:我正在使用 Visual Studio Code 1.19.2

最佳答案

可能是路径问题。如果你安装了 VS2017,它可能在目录 C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin

尝试将其添加到您的路径,然后重新启动 VS Code 并重试。

关于c++ - 在 Visual Studio Code 2017 中 : msbuild : The term 'msbuild' is not recognized as the name of a cmdlet,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48350143/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com