Search code examples
visual-studiocordovavisual-studio-2015cordova-plugins

Visual Studio hangs downloading Cordova Geolocation plugin


I have created a Cordova project in Visual Studio 2015. By using cordova --version on my project folder, I could see that I am using Cordova 4.2.0.

Next thing I wanted to do is installing Geolocation plugin. So I did this by editing `config.xml via VS UI. The problem is that, once I hit, "Add", VS hangs.

enter image description here

It stays in this condition forever.

Please note

I spotted other questions about people not being able to download the same plugin, but that was not VS hanging, it was VS reporting an error. The reported error should have been fixed.

FYI I installed VS2015 Enterprise (full installation).


Solution

  • It looks like it just takes a lot of time! I left Visual Studio in that state for 4 hours. And now I have the plug-in downloaded and everything is fine!

    It is pretty strange though. My network was fine and up during all the time. However it might be some network issue concerning me. Unfortunately hard to say.

    So basically the procedure is fine. If anybody else runs into this again, then i think Visual Studio is having troubles downloading these plug-ins.