Run Your Apache Cordova App on Windows

In Visual Studio 2013, the Cordova tools are released as a preview (CTP) version. Cordova tools will be released as part of Visual Studio 2015 and we recommend that you now use Visual Studio 2015 RC to develop apps using Visual Studio Tools for Apache Cordova. You can download Visual Studio from the Microsoft Download Center.

Visual Studio provides these three options for deploying an app built using Visual Studio Tools for Apache Cordova on Windows:

  • Local machine, to run the app on your PC.

  • Simulator, to run your app on the Windows Simulator.

  • Remote machine, to run your app on a remote device. To use this option, follow these instructions from the Windows Dev Center to install and use Visual Studio Remote Tools.

Windows 8, Windows 8.1, or Windows Server 2012 R2 (with Desktop Experience enabled) is required to deploy and run your app on Windows.

You can configure your Windows app to target either Windows 8 or Windows 8.1 using the configuration designer. For more information, see Configure Your App Built with Visual Studio Tools for Apache Cordova.

Run your app on the local machine or simulator

Follow these instructions to run your app on your computer or on the Windows Simulator.

To run your app

  1. With your app open in Visual Studio, choose a Windows platform such as Windows-x64 from the Solution Platforms list. If you don’t see this list, choose Solution Platforms from the Add/Remove Buttons list to display it.

  2. In the deployment target list, choose Local Machine or Simulator.

  3. Press F5 to start the app, or Shift+F5 to start the app without attaching the debugger.

    Visual Studio runs the app on your computer or in the Windows Simulator, as shown here.

    Running an app on the Windows Simulator

Download the toolsGet the Visual Studio Tools for Apache Cordova or learn more

See Also

Concepts

Install Visual Studio Tools for Apache Cordova

Debug Your App Built with Visual Studio Tools for Apache Cordova

Package Your App Built with Visual Studio Tools for Apache Cordova