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.

geetha velusamyPosted Nov 10, 2021, 11:59 AM
Problem Identification: Unable to install the Microsoft.Cors
Solution:
Tools-->NugetPackageManagerConsole-->Update-Package Microsoft.AspNet.WebApi.Cors
Install-Package Microsoft.AspNet.WebApi.Cors
Alternate Solution:
Tools-->Manage Package for Solution -->Browse -->Microsoft.AspNet.WebApi.Cors
Sachin SinghPosted Aug 15, 2020, 10:55 PM
Santhakumar MunuswamyPosted Aug 15, 2020, 10:41 PM
Sachin SinghPosted Aug 15, 2020, 10:35 PM
Santhakumar MunuswamyPosted Aug 15, 2020, 10:28 PM
Jignesh KumarPosted Aug 15, 2020, 10:16 PM
Farhan AhmedPosted Aug 15, 2020, 9:50 PM