VS-TAC - Cordova version

Visual Studio – Tools for Apache Cordova is a great addition to Visual Studio. It allows us to develop Apache Cordova applications while taking all the advantages of Visual Studio. I started using it with VS 2015 RC for one of the application I am developing using Ionic.

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

If you prefer, you can directly update the version you want to use in taco.json.

comments powered by Disqus