Error in Package Manager Console #7633
Labels
Priority:3
Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.
Status:Excluded from icebox cleanup
Status:Inactive
Icebox issues not updated for a specific long time
Triage:NeedsMoreInfo
Hello
For days and days I have been struggling with the following: In the Package Manager Console (VS 2017), I get the following error when trying to do this:
Install-Package Microsoft.AspNet.Providers.LocalDB -Version 2.0.1.
The error is: 'Unable to find version 2.0.1 of Microsoft.AspNet.Providers.LocalDB'. According to the discussion here, version 2.0.1 is a nonsense. Instead, it is recommended that version 2.0.0 be installed. I simply tried:
Install-Package Microsoft.AspNet.Providers.LocalDB (without the version)
I have Package source as nuget.org and under Default project I can see the name of my project.
This is the message I get in Package Manager Console: PM> Install-Package Microsoft.AspNet.Providers.LocalDB
Install-Package : Some NuGet packages are missing from the solution. The packages need to be restored in order to build the dependency graph. Restore the packages before performing any operations.
At line:1 char:1
Since the 'packages need to be restored', I clicked on the Restore button, only to get the same old error as before:
'Unable to find version 2.0.1 of Microsoft.AspNet.Providers.LocalDB'.
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages:Package Microsoft.AspNet.Providers.LocalDB.2.0.1' is not
found on source C:\Program Files (x86)\Microsoft SDKs\NuGetPackages'.
https://api.nuget.org/v3/index.json: Package Microsoft.AspNet.Providers.LocalDB.2.0.1' is not found on source https://api.nuget.org/v3/index.json'.
In Tools | Package Manager | Manage Settings I have put a tick alongside:
Allow NuGet to download missing packages
Automatically check for missing packages
Press 'Clear all cache' button.
then restarted my PC and my project in VS 2017, but still get that 'Unable to find version 2.0.1......' error
message.
Where do I go from here, please?
Thank you.
The text was updated successfully, but these errors were encountered: