如果你切换cocos2d-x版本的话, 要将之前版本的vs模板删除掉,方法如下:
进入以下目录(根据自己的vs版本):
删除文件夹 Cocos2d-x删除文件(以CCAppWiz 或者 CCXAppWiz前缀开头的文件)
附官网解决方法:
进入以下目录(根据自己的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.
删除文件夹 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)