的Visual Studio 2012没有检测到Visual Studio 2008的构建工具 [英] Visual Studio 2012 failing to detect Visual Studio 2008 build tools

查看:617
本文介绍了的Visual Studio 2012没有检测到Visual Studio 2008的构建工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图使用Visual Studio 2012来构建面向.NET 3.5中的C ++ CLI应用程序。

I am trying to use Visual Studio 2012 to build a C++ CLI application targeting .NET 3.5.

我已经得到了这方面的工作在一台机器,通过安装Visual Studio 2008中,并指定V90的平台工具。

I've already gotten this working on one machine, by installing Visual Studio 2008, and specifying the v90 platform toolset.

现在我在新机器上尝试这一点,我已经安装了Visual Studio 2008,然后的Visual Studio 2012。

Now I am attempting this on a new machine, and I've installed Visual Studio 2008, then Visual Studio 2012.

现在我得到这个令人难以置信的令人沮丧的错误:

Now I get this incredibly frustrating error:

错误81错误MSB8020:该版本工具,Visual Studio 2008的   (平台工具集='V90')无法找到。要建立一个使用V90   构建工具,可单击项目菜单或右键单击   溶液中,然后选择更新VC ++项目......。安装Visual   Studio 2008中建立使用Visual Studio 2008版本   工具。 C:\ Program Files文件   (86)\的MSBuild \ Microsoft.Cpp \ V4.0 \ V110 \ Microsoft.Cpp.Platform.targets 43 5 WinApiWrapper   (Visual Studio 2008中)

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

为什么不的Visual Studio 2012能够找到Visual Studio 2008中有没有什么办法可以帮助它?

Why WOULDN'T Visual Studio 2012 be able to find Visual Studio 2008. Is there any way I can help it?

推荐答案

原来,你还必须安装Visual Studio的 2010 的。

It turns out that you ALSO have to install Visual Studio 2010.

在我安装了Visual Studio 2010,Visual Studio的2012能够检测到Visual Studio 2008的构建工具。

Once I installed Visual Studio 2010, Visual Studio 2012 was able to detect the Visual Studio 2008 build tools.

看来绝对是疯了,但你去那里。

It seems absolutely crazy, but there you go.

这篇关于的Visual Studio 2012没有检测到Visual Studio 2008的构建工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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