VS-TAC - Cordova version

The important thing to understand is that Visual Studio is not doing anything like MSBuild, instead it just uses core cordova tool to build and deploy your application. In the application I was developing, I wanted to use one of the Cordova plugin from npm.  Cordova plugins are being migrated to npm and old plugins are also available in cordova’s old registry. If you want to use plugins from npm, your cordova cli version must be 5.0.0 or higher. VS 2015 RC currently uses version 4.3.0 which doesn’t support plugins from npm. So, you need to upgrade the version of cordova-cli Visual Studio uses. It is very simple to upgrade the version of cordova tools Visual Studio uses. All you need to do is, open up the config.xml in designer and update the cordova cli version in platforms tab

comments powered by Disqus