How to use a different version of Npm and Cordova

We downloaded and installed another instance Npm

outside of Visual Studio on our development machine and set the system path to use that version; using this Npm we downloaded the latest version of Cordova (3.5.0).

Apparently, it looks like Visual Studio 2013 is using this new install Npm

and version of Cordova on build; using this configuration, we can build and deploy WP8, Android and iOS properly.
Also plugins (activated from config.xml

in VS) are downloaded and installed on the new Cordova path.

Looking at the build log, I noticed that the iOS build says it is using version 3.4.0 of Cordova.

Is this configuration supported?
What is the correct way to use a different version of Cordova?

+3


source to share


1 answer


If you upgrade your Multi-Device Hybrid Apps to CTP2, Visual Studio now uses Cordova 3.5.0 instead of 3.4.1. You must also update your vs-mda-remote instance on your Mac to stay in sync for iOS.



There is currently no supported way to select the Cordova version, although it is on the roadmap.

+2


source







All Articles