1. <legend id='PipiJ'><style id='PipiJ'><dir id='PipiJ'><q id='PipiJ'></q></dir></style></legend>
    2. <tfoot id='PipiJ'></tfoot>

    3. <small id='PipiJ'></small><noframes id='PipiJ'>

        <bdo id='PipiJ'></bdo><ul id='PipiJ'></ul>
      <i id='PipiJ'><tr id='PipiJ'><dt id='PipiJ'><q id='PipiJ'><span id='PipiJ'><b id='PipiJ'><form id='PipiJ'><ins id='PipiJ'></ins><ul id='PipiJ'></ul><sub id='PipiJ'></sub></form><legend id='PipiJ'></legend><bdo id='PipiJ'><pre id='PipiJ'><center id='PipiJ'></center></pre></bdo></b><th id='PipiJ'></th></span></q></dt></tr></i><div id='PipiJ'><tfoot id='PipiJ'></tfoot><dl id='PipiJ'><fieldset id='PipiJ'></fieldset></dl></div>

    4. MSbuild 错误:找不到 v140(平台工具集 = 'v140')的构建工具

      MSbuild Error: The builds tools for v140 (Platform Toolset = #39;v140#39;) cannot be found(MSbuild 错误:找不到 v140(平台工具集 = v140)的构建工具)

          <bdo id='Wk5Y1'></bdo><ul id='Wk5Y1'></ul>
              <tbody id='Wk5Y1'></tbody>
            <tfoot id='Wk5Y1'></tfoot>

            <small id='Wk5Y1'></small><noframes id='Wk5Y1'>

          1. <i id='Wk5Y1'><tr id='Wk5Y1'><dt id='Wk5Y1'><q id='Wk5Y1'><span id='Wk5Y1'><b id='Wk5Y1'><form id='Wk5Y1'><ins id='Wk5Y1'></ins><ul id='Wk5Y1'></ul><sub id='Wk5Y1'></sub></form><legend id='Wk5Y1'></legend><bdo id='Wk5Y1'><pre id='Wk5Y1'><center id='Wk5Y1'></center></pre></bdo></b><th id='Wk5Y1'></th></span></q></dt></tr></i><div id='Wk5Y1'><tfoot id='Wk5Y1'></tfoot><dl id='Wk5Y1'><fieldset id='Wk5Y1'></fieldset></dl></div>

              • <legend id='Wk5Y1'><style id='Wk5Y1'><dir id='Wk5Y1'><q id='Wk5Y1'></q></dir></style></legend>
                本文介绍了MSbuild 错误:找不到 v140(平台工具集 = 'v140')的构建工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我有一个由大量项目(C++ 和 C#)组成的解决方案.我把方案升级到了VS2015,所以现在大部分的工具集版本都设置为V140,但有少数项目需要保留在V110(第三方库等).当我在 Visual Studio 2015 中构建解决方案时,它构建得很好,但是当 TeamFoundationServer 尝试构建它时,它失败并显示以下错误:

                C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V110Microsoft.Cpp.Platform.targets (44):v140 的构建工具(平台工具集 ='v140') 找不到.要使用 v140 构建工具进行构建,请单击项目"菜单或右键单击解决方案,然后选择更新 VC++ 项目...".安装 v140 以使用 v140 构建工具进行构建.

                我尝试将 VisualStudioVersion 或正确 MSBuild 版本的路径指定为构建参数,但它不起作用,因为其余项目(V110 中的项目)会遇到麻烦.

                任何帮助将不胜感激.

                解决方案

                我遇到了同样的问题.此

                I have a solution which is consists of a large number of projects (C++ and C#). I upgraded the solution to VS2015, so the toolset version for most of them are now set to V140, but a small number of projects need to remain in V110 (third party libraries, etc). When I build the solution in Visual Studio 2015, it builds just fine, but when TeamFoundationServer tries to build it, it fails with the following error:

                C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V110Microsoft.Cpp.Platform.targets (44): The builds tools for v140 (Platform Toolset = 'v140') cannot be found. To build using the v140 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install v140 to build using the v140 build tools.

                I tried to specify the VisualStudioVersion or the path to the right MSBuild version as build arguments, but it didn't work as the rest of the projects (the ones in V110) will be in trouble.

                Any help would be very appreciated.

                解决方案

                I had the same issue. Steps given in this Solution helped me solve my issue. Repeating the steps here for future reference.

                If you're attempting to build a Win32 "Desktop" application, the easiest way to get the v140 Platform Toolset is via the Visual Studio Installer (please see the image, below, for an illustration of steps '3.' and '4.'):

                1. Launch the "Visual Studio Installer" from your start menu.
                2. Select "Modify" for the instance of Visual Studio 2017 you have installed.
                3. Under the "Summary" pane of the workload selector, click the "Desktop development with C++" expander (if it is collapsed)
                4. Check the "VC++ 2015.3 v140 toolset (x86,x64)" optional feature.

                这篇关于MSbuild 错误:找不到 v140(平台工具集 = 'v140')的构建工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                Constructor initialization Vs assignment(构造函数初始化 Vs 赋值)
                Is a `=default` move constructor equivalent to a member-wise move constructor?(`=default` 移动构造函数是否等同于成员移动构造函数?)
                Has the new C++11 member initialization feature at declaration made initialization lists obsolete?(声明时新的 C++11 成员初始化功能是否使初始化列表过时了?)
                Order of constructor call in virtual inheritance(虚继承中构造函数调用的顺序)
                How to use sfinae for selecting constructors?(如何使用 sfinae 选择构造函数?)
                Initializing a union with a non-trivial constructor(使用非平凡的构造函数初始化联合)
                • <legend id='PRBwe'><style id='PRBwe'><dir id='PRBwe'><q id='PRBwe'></q></dir></style></legend>
                  <i id='PRBwe'><tr id='PRBwe'><dt id='PRBwe'><q id='PRBwe'><span id='PRBwe'><b id='PRBwe'><form id='PRBwe'><ins id='PRBwe'></ins><ul id='PRBwe'></ul><sub id='PRBwe'></sub></form><legend id='PRBwe'></legend><bdo id='PRBwe'><pre id='PRBwe'><center id='PRBwe'></center></pre></bdo></b><th id='PRBwe'></th></span></q></dt></tr></i><div id='PRBwe'><tfoot id='PRBwe'></tfoot><dl id='PRBwe'><fieldset id='PRBwe'></fieldset></dl></div>

                      <tfoot id='PRBwe'></tfoot>
                        <bdo id='PRBwe'></bdo><ul id='PRBwe'></ul>
                          <tbody id='PRBwe'></tbody>
                        • <small id='PRBwe'></small><noframes id='PRBwe'>