Visual Studio:error MSB8020 (同时安装vs2012和vs2013)

状况如下:

error MSB8020: The builds tools for v120 (Platform Toolset = 'v120') cannot be found. To build using the v120 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects..."


新机器上同时装了VS2012和VS2013,通过Python脚本生成cocos2d-x工程之后,双击打开了sln文件。

默认用了VS2013打开,之前在VS2012上编译过的项目点击后相当于重新把如下图中每个工程都会用到的项目的工具集改成了v120

Visual Studio:error MSB8020 (同时安装vs2012和vs2013)

VS2013在我手头的cocos2d-x版本暂时还不支持,关掉重新用VS2012打开工程,F5得到文章开头显示错误。
解决方法自然是检查每个项目的工具集是否为VS2012想要的v110。

Visual Studio:error MSB8020 (同时安装vs2012和vs2013)

注意:要修改所有工程的“平台工具集” ,hello1,libbox2d,libcocos2d,libSpine