commit | 2d7d219fc1864fa22f87cebadac173fd41091351 | [log] [tgz] |
---|---|---|
author | Jason Wang (DEVDIV) <jicwan@microsoft.com> | Thu Jul 21 13:47:49 2016 -0700 |
committer | TimBarham <tim.barham@microsoft.com> | Fri Jul 22 10:51:43 2016 -0700 |
tree | bc7ce937bee697ad2a89c9df6f1b10ac04a532f6 | |
parent | 58080c4c48f6496dc21fa7b9ae85c189f8eeb1d9 [diff] |
CB-11548 Fix issues where MSBuild cannot be found This is due to VS installation change. Let Cordova Windows look for MSBuild under VSINSTALLDIR process environment variable. Also, make Cordova Windows more resilient to MSBuild version change. This commit contains work by Vladimir and Jason. Code is reviewed by Vladimir and Tim Barham. Commits are squashed.
#Apache Cordova for Windows
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)
#Requirements
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.
#Getting started 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
#Getting logs from Windows Store applications 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 Issues Report them at the Apache Cordova Issue Tracker. Create a user account, use windows
as the component.
#Further Reading