Visual Studio 2012 failing to detect Visual Studio 2008 build tools

…衆ロ難τιáo~ 提交于 2019-11-28 08:11:27

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

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.

I ran into the exact same problem but I Installed Windows SDK 7.1 instead (or the web installer version) and that made it work also.

I remember I've installed it also to the original computer.

Remember you should uninstall first any version of Visual C++ 2010 redistributable, otherwise Windows SDK setup will fail.

I know it's not the perfect solution because Windows SDK is huge, but it's another option.

Before downloading anything try going to project properties -> configuration properties -> general then change the platform Toolset for the project to Visual Studio 2012 (v110)

As per The build tools for Visual Studio 2008 (Platform Toolset = 'v90') cannot be found,

In addition to an MSVC 9.0 toolchain which is present in VS 2008 (do install VS 2008 SP1, or x64 compilers will be broken), you also need MsBuild 4.0 platform configuration files for this toolchain so that MsBuild can find it.

They are discreetly present in Visual Studio 2010, in the C++ x86 and x64 features, in addition to its own toolchain. They are NOT present in standalone SDK packages like WinSDK 7.1.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!