Unable to find Nuget package "entityframework"

Viewed 13981

I am pretty new to EF and have tried to install entityframework from the Package Manager console. But I get this error:

PM> install-package entityframework
install-package : Unable to find package 'entityframework'.
At line:1 char:1
+ install-package entityframework
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

Not sure why I am getting this error.

This is my settings for Package Source;

enter image description here

Is the Package Source setup correctly, if it is, what is the issue with installing EF?

Please advise.

3 Answers

Check what Package source is selected in the Package source list enter image description here

make sure that nuget.org is selected

Simply restarting Visual Studio worked for me (for some reason).

Related