在Windows 8 x64上使用Visual Studio 2012
同样,这是由msbuild移入.net引起的,但我尚未看到如何解决它。

4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(44,5): error MSB8020: The builds tools for v120 (Platform Toolset = 'v120') cannot be found. To build using the v120 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install v120 to build using the v120 build tools.
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(44,5):
error MSB8020: The builds tools for v120 (Platform Toolset = 'v120') cannot be found. To build using the v120 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install v120 to build using the v120 build tools.
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(44,5): error MSB8020: The builds tools for v120 (Platform Toolset = 'v120') cannot be found. To build using the v120 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install v120 to build using the v120 build tools.

最佳答案

http://en.wikipedia.org/wiki/Visual_C++

您正在使用v110的Visual C++ 2012。 v120表示Visual C++ 2013。

因此,您可以更改项目设置以使用工具集v110,或者在此计算机上安装Visual Studio 2013并使用VS2013对其进行编译。

关于visual-studio - 找不到适用于v120的构建工具(Platform Toolset = 'v120'),我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/19801072/

10-11 22:50
查看更多