Running and Debugging Your App

Visual Studio works with the Cordova command-line interface (CLI) to allow you to build an application for deployment to a native device. You configure the build process to target a specific platform such as Windows, iOS, or Android, and Visual Studio and the CLI create the appropriate app package for the device. You can then run your app on a device tethered to your machine, an emulator, or a simulator. We will look these scenarios next.

Visual Studio uses MSBuild to call out to the CLI through a layer called vs-mda. These tools then deliver the appropriate Cordova package (along with your app) that the native device can execute. When developing on a Windows machine, this works great for building Windows Phone/Store ...

Get Microsoft Visual Studio 2015 Unleashed, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.