I'm using Visual Studio Express 2013.
When trying to install a nuget package, I am getting an error (no error when trying in 2012 express):
PM> Install-Package AutoMapper
Install-Package : Unable to connect to the remote server
At line:1 char:16
+ Install-Package <<<< AutoMapper
+ CategoryInfo : NotSpecified: (:) [Install-Package], WebException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Internet is working (I have Vs 2012 working and installing nuget packages at the same time - with no issues).
VS -> Tools -> Extensions and Updates says: Cannot check for updates because the following error(s) occurred whil trying to contact the server: Unable to connect to the remote server - please click here to retry the request
- when I click that, it goes back to the "retrieving information" loop.
Does anyone have any ideas how to resolve this?
Thank you, Mark
I had the same problem. I was able to connect to NuGet from VS2013 if I select "Run As Administrator" when launching VS.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With