【发布时间】:2017-05-01 14:02:41
【问题描述】:
我正在尝试将在 Intel XDK 中创建的项目移动到 Visual Studio 2015。 我使用 file > new > project from existing code ... 选项在 VS 中从 Intel XDK 项目创建一个新项目。
我注释掉了 cordova.js 文件的脚本行。因为我在某个地方读到了 VS 为您创建和插入的内容。
当我去建造时,我得到:
cordova-build error BLD105: The Cordova build did not recognize your working directory as a Corvova-based project. This is often because the "www" directory is not at the root of your project
我在项目文件夹中有一个 www 目录。
我确定原因是我在根目录中没有config.xml 文件。似乎 XDK 应用程序在调用 Cordova 进行构建时创建了 config.xml。
我有以下问题:
- 获取
config.xml文件的最佳方式是什么? - 移动项目是否还有其他问题?
【问题讨论】:
标签: visual-studio cordova visual-studio-2015 intel-xdk