在Visual Studio 2010和11之间共享C ++解决方案 [英] Sharing a C++ solution between Visual Studio 2010 and 11

查看:117
本文介绍了在Visual Studio 2010和11之间共享C ++解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我和我的伴侣都通过颠覆共享了一个c ++解决方案.

Me and my partner are both sharing a c++ solution via subversion.

他正在使用Visual Studio 11,而我正在使用Visual Studio 2010.

He is using Visual Studio 11 and I am using Visual Studio 2010.

他第一次提交并更新后,出现以下错误:

After the first time he commited and i updated, i get the following error:

Error 31 error MSB8008: Specified platform toolset (v110) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.

另外,在头文件中,我在#include <stdio.h>上收到以下错误:

also, in header files i get the following error on #include <stdio.h>:

error: cannot open source file "stdio.h"

我猜这是兼容性问题.我们该如何解决?

I am guessing this is a compatibility issue. How can we resolve this?

推荐答案

在Visual Studio 11中,有一个属性选项可让您指定平台工具集.

In Visual Studio 11 there is a property option that allows you to specify the platform toolset.

默认情况下,如果从Visual Studio 11开始创建新项目,则使用平台工具集v110,但是如果可以将其更改为Visual Studio 2010使用的v100,则为

Platform Toolset v110 is used by default if you create a new project starting from Visual Studio 11, but if can change it to v100 that is the one used by Visual Studio 2010.

这篇关于在Visual Studio 2010和11之间共享C ++解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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