Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sharing a C++ solution between Visual Studio 2010 and 11

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

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.

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?

like image 400
Michael Avatar asked Apr 20 '12 11:04

Michael


1 Answers

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

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.

Toolset option

like image 164
Drake Avatar answered Sep 19 '22 15:09

Drake