相关疑难解决方法(0)

如何在Visual Studio中安装(v142)生成工具

当我尝试在Visual Studio中构建内容时,Visual Studio向我显示一些警告,然后如果我忽略它并进行构建,则会发生错误。

    error MSB8020: The build tools for v142 (Platform Toolset = 'v142') 
    cannot be found. To build using the v142 build tools, please install 
    v142 build tools.
Run Code Online (Sandbox Code Playgroud)

它还会向我显示一个替代选项,我也尝试过,但不起作用。

    Alternatively, you may upgrade to the current 
    Visual Studio tools by selecting the Project menu or right-click the 
    solution, and then selecting "Retarget solution".
Run Code Online (Sandbox Code Playgroud)

c++ visual-studio visual-studio-2017

5
推荐指数
5
解决办法
1万
查看次数

标签 统计

c++ ×1

visual-studio ×1

visual-studio-2017 ×1