Reputation: 23
This is the below error I am getting whenever I tried to install Microsoft.AspNet.Cors package.
Error downloading 'Microsoft.AspNet.Cors.5.2.6' from 'https://packages.nuget.org/api/v1/package/Microsoft.AspNet.Cors/5.2.6'. At line:1 char:1 + Install-Package Microsoft.AspNet.WebApi.Cors + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Install-Package], Exception + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
How I can solve this? How to download SSL certificate for Nuget?
Upvotes: 0
Views: 419
Reputation: 23
The problem was very simple. I tried to open the URL in the browser and came to know that it is blocked in the organization. After giving the access it worked.
Thanks
Upvotes: 0