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.


Sachin SinghRank #66 · 26.2K reputationPosted Aug 15, 2020, 6:55 PM EDT
Jignesh KumarRank #91 · 22.9K reputationPosted Aug 15, 2020, 6:16 PM EDT
Santhakumar MunuswamyRank #128 · 17.3K reputationPosted Aug 15, 2020, 6:28 PM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Aug 15, 2020, 6:35 PM EDT
Farhan AhmedRank #73 · 25K reputationPosted Aug 15, 2020, 5:50 PM EDT
Santhakumar MunuswamyRank #128 · 17.3K reputationPosted Aug 15, 2020, 6:41 PM EDT
geetha velusamy52 reputationPosted Nov 10, 2021, 6:59 AM EST
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