commit | aed7484098b15827e4947762402345e2df3f7299 | [log] [tgz] |
---|---|---|
author | Jan Piotrowski <piotrowski+github@gmail.com> | Thu Feb 15 16:17:14 2018 +0100 |
committer | GitHub <noreply@github.com> | Thu Feb 15 16:17:14 2018 +0100 |
tree | aea2b3d370e4deee73519b727980aa4dc0a3f98c | |
parent | dccdab98753abdbd39dd81259df6cfe7ee2ae81d [diff] |
CB-13877 Clean up MSBuildTools.js (#259) * comments in MSBuildTools.js * move method * temporary logging * clearer comment * move method * move filterSupportedTargets from build.js to MSBuildTools.js * restructure getLatestMSBuild to get the list of available MSBuilds itself restructure usage of MSBuildTools in build.js to that new reality (get builtTargets earlier, get msBuild instead of list, use both to filter buildTargets earlier) * now also remove filterSupportedTargets from build.js * move method * fix eslint * Visual Studio 15.5 is a thing the script should know about * better logging for checkMSBuildVersion future method preparation * fix eslint * disable some unit tests * move filterSupportedTargets into getLatestMatchingMSBuild * move method * switch Error to CordovaError * fix comments * re-enable tests (but 3) * fix eslint * TODO comment for future functionality * document ugly hack for VS17 MSBuild selection * undo VS17 stuff
This repo contains the code for an Apache Cordova platform that allows you to build applications that target Windows 10, and Windows 8.1, as well as Windows Phone 8.1. An Apache Cordova based applications is written in HTML, CSS and JavaScript.
(Warning: Windows 8 has been deprecated, please update your applications to target Windows 8.1 or above)
Apache Cordova is a project of The Apache Software Foundation (ASF)
Host OS: Windows 8.1 or Windows 10
Install the tools: Visual Studio 2015
Host OS: Windows 8.1
Install the tools: Visual Studio 2013 Express.
The best way to use this is to install the Cordova CLI, create a project, add the windows platform, and run the app:
npm install -g cordova cordova create test cordova platform add windows cordova run windows
You can get your JavaScript logs as well as Windows logs related to your Windows Store application by running the following command from your app directory:
platforms\windows\cordova\log
In most cases, this command requires administrator privileges. However, if you want to gather logs without admin privileges, you may need to manually enable logging channel via Event Viewer:
Start -> Run -> eventvwr View -> Show Analytic and Debug Logs Applications and Services Logs -> Microsoft -> Windows -> AppHost -> AppTracing -> Enable Log
Please note that the log command is supported only for Windows Store applications and cannot get logs from Windows Phone application.
Report them at the Apache Cordova Issue Tracker. Create a user account, use windows
as the component.