假设你切换cocos2d-x版本号的话。 要将之前版本号的vs模板删除掉。方法例如以下:
进入下面文件夹(依据自己的vs版本号):
-
VS2008: C:\Program Files\Microsoft Visual Studio 9.0\VC\vcprojects\
-
VC2008Express: C:\Program Files\Microsoft Visual Studio 9.0\VC\Express\VCProjects
-
VS2010: C:\Program Files\Microsoft Visual Studio 10.0\VC\vcprojects\
-
VC2010Express: C:\Program Files\Microsoft Visual Studio 10.0\VC\Express\VCProjects.
-
注:本人ide版本号是vs2010。安装文件夹也是默认安装c盘, 直接复路径就可以。
删除目录 Cocos2d-x删除文件(以CCAppWiz 或者 CCXAppWiz前缀开头的文件)
附官网解决方法:
-
cd wizard directory (Example as default install)
-
-
VS2008: C:\Program Files\Microsoft Visual Studio 9.0\VC\vcprojects\
-
VC2008Express: C:\Program Files\Microsoft Visual Studio 9.0\VC\Express\VCProjects
-
VS2010: C:\Program Files\Microsoft Visual Studio 10.0\VC\vcprojects\
-
VC2010Express: C:\Program Files\Microsoft Visual Studio 10.0\VC\Express\VCProjects
-
delete the sub directory Cocos2d-x
-
delete the files with prefix CCAppWiz (0.8.0 or later) or CCXAppWiz (0.7.2 or earlier)