Changing the Cordova version used by Hybrid Apps in Visual Studio 2013
How to update the Cordova version used by Hybrid Apps in Visual Studio 2013 by editing the platforms.js file.
Updating the Cordova version requires you to edit the platforms.js file found in:
%APPDATA%\Roaming\npm\node_modules\vs-mda\node_modules\cordova\node_modules\cordova-lib\src\cordova
You can change the version individually for each platform, though I suggest you use the same version for all. Also, it might be the case you’re looking to update only because of the Google Play warning regarding the high severity cross-application scripting (XAS) vulnerability found in Cordova 3.5.0. If so, here you have the file updated to point to version 3.5.1 which fixes the mentioned vulnerability: platforms.js (note: this Dropbox link may no longer be available).
Note: In case you are using CTP 1 of the Hybrid Apps the path will be different:
%APPDATA%\npm\node_modules\vs-mda\node_modules\cordova\