The builds tools for v120 (Platform Toolset = 'v120') cannot be found

前端 未结 16 1513
后悔当初
后悔当初 2020-12-04 09:47

Using visual studio 2012 on windows 8 x64 aparantly this is caused by msbuild being moved into .net but I havn\'t seen how to fix it yet.

4>C:\\Program Fi         


        
16条回答
  •  北荒
    北荒 (楼主)
    2020-12-04 10:45

    Wasted 4+ hours on this.

    I have Visual Studio 2017 Enterprise, one of the projects has below error:

    The builds tools for v120 (Platform Toolset = 'v120') cannot be found

    To resolve above error, I tried to install all below:

    • Microsoft Build Tools 2013 (v120 tools) https://www.microsoft.com/en-US/download/details.aspx?id=40760
    • Microsoft Build Tools 2015 https://www.microsoft.com/en-in/download/details.aspx?id=48159
    • Build Tools for Visual Studio 2017 https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2017

    However, none of the above worked.

    Later, installed Visual Studio 2013 Ultimate, then all worked fine.

    Looks like, the older Visual studio is a must to resolve this.

    Hope it helps.

提交回复
热议问题