Reputation: 15
I am trying to install Entity Framework for MVC application.But I am getting following error: Install-Package : Unable to find version '5.0.0.0' of package 'entityframework'
Upvotes: 1
Views: 4459
Reputation: 26
I was struck with the same issue and the below steps resolved the problem
Right click on the Project which throws the Nuget error Select Manage NuGet Packages.. Click on Settings button in the bottom left corner Under Available package sources,Select the checkbox nuget.org Click on OK.
Now the packages will be automatically downloaded from the site.
Upvotes: 1
Reputation: 115
I faced same issue. When i checked my proxy and made sure that internet connection is fine and has a reach over NuGet links, restarting VS later solved my problem.
Upvotes: 0
Reputation: 15
It Worked .I went to http://www.nuget.org/packages/EntityFramework and then installed NuGet using Visual Studio Extension Manager and then in the console window I gave command Install-Package EntityFramework -Version 5.0.0 and it worked out.
Upvotes: 0
Reputation: 6501
Entity framework 5 is uploaded without the latest 0 on the version.
This should work
Install-Package EntityFramework -Version 5.0.0
For other versions look here
http://www.nuget.org/packages/EntityFramework/
Upvotes: 0
Reputation: 21
Try installing the package by right-clicking on the project in visual studio -> 'Manage NuGet Packages' and search for EntityFramework.
Upvotes: 0