如何在视觉工作室2015社区安装视觉工作室构建工具2010? [英] how to installs visual studio build tools 2010 on visual studion 2015 community?

查看:253
本文介绍了如何在视觉工作室2015社区安装视觉工作室构建工具2010?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个项目创建在visual studio 2010.
当我尝试运行该项目在visual studio 2015社区版我得到这个错误:



严重性代码说明项目文件行
错误MSB8020找不到Visual Studio 2010(Platform Toolset ='v100')的构建工具。要使用v100构建工具进行构建,请安装Visual Studio 2010构建工具。或者,您可以通过选择项目菜单或右键单击解决方案,然后选择重新定位解决方案来升级到当前的Visual Studio工具。 graphics C:\Program Files(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets 55



当我试图构建它与visual studio 2015构建工具我反问约1500+错误

解决方案



/ div>

如果您无法安装VS2010,请 Windows SDK for Windows 7 包含所需的编译器工具(v100),实际上可能会跳过安装SDK本身并仅安装编译器工具,头和库。请注意,Windows SDK中包含的编译器与VS2010具有的编译器相同,但VS2010 SP1有一个较新的编译器。如果需要,您还需要安装 Microsoft Visual C ++ 2010 Service Pack 1 Windows SDK 7.1的编译器更新。但请注意,如果你安装这些,你可能有问题后,如果你决定安装VS2010,有安装程序中的错误,需要您按严格的顺序安装组件。另外,如果你的代码使用MFC或ATL,你必须安装VS2010,安装Windows SDK是不够的。


I have a project created on visual studio 2010. when I try to run the project on visual studio 2015 community edition i get this error:

Severity Code Description Project File Line Error MSB8020 The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, please install Visual Studio 2010 build tools. 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". graphics C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets 55

when i tried to build it with visual studio 2015 build tools i countered about 1500+ errors errors image

Is there any way to make the project work?

解决方案

If you can't install VS2010, Windows SDK for Windows 7 contains needed compiler tools (v100), you may actually skip installing the SDK itself and install only the compiler tools, headers and libs. Please note, that the compiler included in Windows SDK is the same that VS2010 has, but VS2010 SP1 has a bit newer compiler. If you need that, you'll also need to install Microsoft Visual C++ 2010 Service Pack 1 Compiler Update for the Windows SDK 7.1. But be aware, that if you install these, you may have issues later if you decide to install VS2010, there are bugs in installer that requires you to install components in strict order. Also, if your code uses MFC or ATL you must install VS2010, installing Windows SDK will not be enough.

这篇关于如何在视觉工作室2015社区安装视觉工作室构建工具2010?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆