title: Cordova/phonegap windows phone plugins
body: <p>I am having problems getting a phonegap windows phone app up and going. (PhoneGap 3.1.0 - on a windows 8 machine)</p>
  
  <p>I have followed the step so create a windows phone app from the “Windows Phone Command-line Tools”. It says to use CordovaWP7xxx.zip + CordovaWP8xxx.zip to create a template and you can create an application from this. There is no phonegap download in the latest 3.1.0 version of phone gap. I was able to find these templates in the cordova download so I used them instead.</p>
  
  <p>I successfully created and run a project through visual studio using the following command format
  .\wp7\bin\create PathToNewProject [ PackageName ] [ AppName ]</p>
  
  <p>The problem I am having is that I cannot install any plugins to this application. When I try with the phonegap command </p>
  
  <p><em>C:\Phonegap\ReflectionPGWP7>phonegap -d  local plugin add <a href="https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git" rel="nofollow">https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git</a></em></p>
  
  <p>I get the following error </p>
  
  <p><strong>[error] project directory could not be found</strong></p>
  
  <p>When I try with the cordova command 
  <em>cordova plugin add org.apache.cordova.device</em></p>
  
  <p>I get the following error </p>
  
  <p><strong>[Error: Current working directory is not a Cordova-based project.]</strong></p>
  
  <p>In both scenarios the command prompt is directed at the folder of the application.</p>
  
  <p>I would be grateful for any tips on what might be causing the issue and potential workarounds. The documentation is inconsistent and I have try several other things to get this going but would welcome suggestions on the best way forward.</p>
  
  <p><strong>In short</strong>: has any got phone gap going with windows phone 7 with plugins i.e. notifications. Would love to hear how others got it going
  Thanks </p>