Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The package source named 'NuGet' is either invalid or not available

I have installed Nuget 1.2 yesterday, and today, while I was trying to install Entity Framework package, I have encountered the following problem in the Package Manager Console:

PM> install-package entityframework
Install-Package : The package source named 'NuGet official package source [https://go.microsoft.com/fwlink/?LinkID=206669]' is either
invalid or not available and thus is currently unreachable.
At line:1 char:16
+ install-package <<<< entityframework
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

I can surft the internet and I don't think anything is preventing Visual Studio to access the internet.

like image 453
Kamyar Avatar asked Apr 13 '11 05:04

Kamyar


1 Answers

Actually, there was something that was preventing Visual Studio from accessing the internet. Seems like VS had some problems with my proxy server.
So I used a solution that has been introduced in here and everything works fine now.

like image 114
Kamyar Avatar answered Nov 01 '22 06:11

Kamyar