Sachin Singh

Sachin Singh

  • 10
  • 55.8k
  • 75.2k

Unable to install package from package manager console

Aug 15 2020 12:31 PM
PM> Install-Package  Microsoft.AspNet.WebApi.Cors
The source at nuget.org [https://www.nuget.org/api/v2/] is unreachable. Falling back to NuGet Local Cache at C:\Users\Aashima\AppData\Local\NuGet\Cache
Install-Package : Unable to find package 'Microsoft.AspNet.WebApi.Cors'.
At line:1 char:16
+ Install-Package <<<<   Microsoft.AspNet.WebApi.Cors
    + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
 
I have below source settings
 
I have also cleared the Package cache ---din't work for me.
Install-Package Microsoft.AspNet.WebApi.Cors -Source nuget.org ---din't work for me.

Answers (7)