新建项目后,右击项目,选择属性中-->常规-->附加包含目录: 添加 $(EngineRoot) $(EngineRoot)cocos $(EngineRoot)cocos\editor-support 即可