Use the newer AppDeployCmd when available
The old XapDeployCmd could raise "Error: The parameter is incorrect." with project files that were opened with more recent versions of Visual Studio.
This change looks for the Windows Phone SDK 8.1 AppDeployCmd before falling back to the WP SDK 8.0 XapDeployCmd.
1 file changed
tree: 065373792589b7c2cf280b4b9d7d55e9808352a6
  1. bin/
  2. framework/
  3. node_modules/
  4. template/
  5. .gitignore
  6. appveyor.yml
  7. CONTRIBUTING.md
  8. LICENSE
  9. NOTICE
  10. package.json
  11. README.md
  12. RELEASENOTES.md
  13. VERSION
README.md

Apache Cordova for Windows Phone 8

Build status

This repo includes code to build Apache Cordova applications that target Windows Phone 8 SDK.

An Apache Cordova based applications is, at the core, an application written with web technology: HTML, CSS and JavaScript.

Apache Cordova is a project at The Apache Software Foundation (ASF).

Requires

  • Windows Phone SDK 8 -- Windows Phone 8 development requires Windows 8 Professional, and Visual Studio 2012 ( express works )

Getting Started

Create a new project

Getting Started from the command line

>.\wp8\bin\create PathToNewProject [ PackageName ] [ AppName ]

>PathToNewProject : The path to where you wish to create the project
>PackageName      : The namespace for the project (default is Cordova.Example)
>AppName          : The name of the application (default is CordovaWP8AppProj)

>example:
>.\wp8\bin\create C:\Users\anonymous\Desktop\MyWP8Proj io.cordova.example CordovaWP8App

From here you can open it in Visual Studio:
- Launch Visual Studio and open Solution file (.sln) in (C:\Users\anonymous\Desktop\MyWP8Proj)
- Built and Run it

Or, you can continue with the command line:
- >cd C:\Users\anonymous\Desktop\MyWP8Proj
  >cordova\run

BUGS?

Further Reading