我已经加载了默认的visual studio 2015 cordova项目。我跟踪了msdn的帖子,但项目不会构建。
在我的Build输出中,我有以下内容:
1>------ Build started: Project: EpilepTracker, Configuration: Release Android ------
1> Your environment has been set up for using Node.js 0.12.2 (ia32) and npm.
1> ------ Ensuring correct global installation of package from source package directory: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\ApacheCordovaTools\packages\vs-tac
1> ------ Name from source package.json: vs-tac
1> ------ Version from source package.json: 1.0.0
1> ------ Package already installed globally at correct version.
1> ------ Cordova tools 4.3.1 already installed.
1> ------ Build Settings:
1> ------ Build Settings:
1> ------ platformConfigurationBldDir: C:\src\epileptracker\EpilepTracker\EpilepTracker\bld\Android\Release
1> ------ platformConfigurationBinDir: C:\src\epileptracker\EpilepTracker\EpilepTracker\bin\Android\Release
1> ------ buildCommand: prepare
1> ------ platform: Android
1> ------ cordovaPlatform: android
1> ------ configuration: Release
1> ------ cordovaConfiguration: Release
1> ------ projectName: EpilepTracker
1> ------ projectSourceDir: C:\src\epileptracker\EpilepTracker\EpilepTracker
1> ------ npmInstallDir: C:\Users\myself\AppData\Roaming\npm
1> ------ language: en-US
1> ------ Adding platform: android
1> No version supplied. Retrieving version from config.xml...
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
在我的Javascript语言服务中,我有以下错误:
04:13:41.7556: Reference source file successfully generated from references in project 'C:\src\epileptracker\EpilepTracker\EpilepTracker\EpilepTracker.jsproj'
04:13:41.7796: Reference group 'Implicit (Apache Cordova)' not found.
04:13:41.7876: Referenced file 'C:\src\epileptracker\EpilepTracker\EpilepTracker\www\cordova.js' not found.
04:13:41.7936: Referenced file 'cordova.js' not found.
04:32:14.8630: Reference group 'Implicit (Apache Cordova)' not found.
04:32:14.9430: Referenced file 'cordova.js' not found.
根据我的阅读,visual studio应该在构建期间创建cordova.js文件,但事实并非如此。错误列表中没有错误。我只是想在这里运行一个hello world项目。