Search code examples
gitvisual-studiocordovacordova-pluginsvisual-studio-2015

Visual Studio unable to include plugin from Git


I developing an app in Cordova, Visual Studio 2015 and I have previous dowloades and sucessfull included BarcodeScanner and Phonegap-nfc throw the config.xml file. But now when I tried whit tedious I get this error error:

Plugin downloaded from URL: https://github.com/tedious/tedious.github.io

I have tried to downloading the zip file and include it throw local. Also this time throw config.xml. but I got this error message:

Visual studio was unable to parse plugin.xml. Please ensure plugin.xml exist and contains no error.

The plugin.xml exist and I can't find any error. How do I solve this? Or is there a better way to connect my cordova app whit Mssql?


Solution

  • Only cordova plugins can be included by the way you followed in Visual Studio. The plugin needs to have plugin.xml file which contains plugin id and other details related to the plugin.Phonegap nfc and barcode scanner were cordova plugins which contains plugin.xml. Hence you were able to add the same in VS.

    But the plugin which failed to add - https://github.com/tedious/tedious.github.io is not a cordova plugin and it does not have plugin.xml. Hence you will not be able to add the same in VS