How to add a plugin to a Visual Studio Cordova project

How to add a remote control (git) to the cordova / phonegap project created using the Visual Studio phone saver template? I can’t just change the current directory to the VS project in the CLI via cd and call add plugin ... because it does not work with "project directory could not be found" . Thanks.

+7
visual-studio-2012 cordova cordova-plugins phonegap-plugins visual-studio-cordova
source share
2 answers

You can also add the plugin through Visual Studio, following the instructions for adding a custom plugin

  • Download the plugin from github as a .zip file
  • Extract the contents of the ZIP file and add it to your project
  • In the Solution Explorer, open the context menu for your project and select "Add", "New Folder". Name the folder plugins
  • Add the code files for your plugin to a subfolder corresponding to the plugin folder and file structure.
  • Create an application to add a plugin

Learn more about adding a plugin.

see "Managing plugins for your tiered hybrid application . "
+6
source share

In Visual Studio 2015, double-click the config.xml file. Go to the Plugins tab. Then you can choose between Cordoba core plugins or regular ones.

+5
source share

All Articles