Package Manager Error

Jan 25, 2011 at 9:13 PM
Edited Jan 25, 2011 at 9:15 PM

I'm getting the following error when using the Package Manager Console. Same error occurs when using the Add Library Package Reference dialog. 

I'm pointing to the OData feed listed at http://nuget.codeplex.com/releases/view/57303 which is http://go.microsoft.com/fwlink/?LinkID=206669. 

 

PM> List-Package -Remote
Get-Package : The remote name could not be resolved: 'packages.nuget.org'
At line:1 char:13
+ List-Package <<<<  -Remote
    + CategoryInfo          : NotSpecified: (:) [Get-Package], WebException
    + FullyQualifiedErrorId : NuGet.VisualStudio.Cmdlets.GetPackageCmdlet
 
PM> 
Jan 25, 2011 at 9:18 PM

Are you behind firewall or something like that? If you try to open the url in your browser, what do you see?

Jan 25, 2011 at 9:30 PM

Yeah, I should have thought of that. It works from a machine outside the firewall. I was just using NuGet some yesterday so someone must have changed it.

Thanks for pointing out the obvious thing I should have checked before I posted!