Unable to find package 'Abp.Owin' at source.


I am getting this error while trying to Install Abp.AspNetCore package using Nuget Package Manager console

Install-Package : Unable to find package 'Abp.AspNetCore' at source ''.At line:1 char:1
+ Install-Package Abp.AspNetCore
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
 

the Nuget package link  to install the above package is https://www.nuget.org/packages/Abp.AspNetCore/ but I am not to install it due to above error, need help here, thanks


Asked by:- jaiprakash
1
: 3503 At:- 7/11/2017 8:35:08 AM
C# nuget-package nuget







2 Answers
profileImage Answered by:- pika

You need to check URL of Nuget Package Manager.

In your Visual Studio Go to Tools -> NuGet Package Manager -> Package Manager Settings

Nuget-Package-Manager-Visual-Studio

From options select Nuget Package Manager -> Package Sources, Check the url of nugetit should be

https://api.nuget.org/v3/index.json

Nuget-package-Visual-Studio

Nuget package source url should be as above, after saving the url as above you would be able to search and install package successfully.

2
At:- 7/11/2017 1:00:18 PM


profileImage Answered by:- bhanu

You can also try this solution in Visual Studio

  • Navigate to "Tools" -> "Nuget Package Manager" -> Select "Package Manager Settings"
  • Select "General" -> Click button "Clear All Nuget Cache(s)"
  • Select Package Resources, if you have Nuget.Org with url "https://api.nuget.org/v3/index.json" and select it and click "Update"

That's it, this resolved my error.

 

0
At:- 11/29/2021 3:09:05 PM






Login/Register to answer
Or
Register directly by posting answer/details

Full Name *

Email *




By posting your answer you agree on privacy policy & terms of use