Home: Update-Package reports Package is not found

Created on 14 Apr 2016  路  4Comments  路  Source: NuGet/Home

I'm using nuget V 3.4.2.830 and have a custom nuget source configured in VS 2015 in addition to standard source. In GUI I selected "All" Sources. But when trying "update-package" I get following error:
PM> update-package
Attempting to gather dependency information for multiple packages with respect to project 'RemoteControlService', targeting '.NETFramework,Version=v4.5.1'
update-package : Package 'LoggingService' is not found in the following primary source(s): 'https://api.nuget.org/v3/index.json'. Please verify all your online package sources are
available (OR) package id, version are specified correctly.
At line:1 char:1

  • update-package
  • ~~~~~~

    • CategoryInfo : NotSpecified: (:) [Update-Package], Exception

    • FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.UpdatePackageCommand

      Working with GUI, update is found as expected.

      Josef

Update ByDesign Bug

Most helpful comment

@digitalsigi Make sure you've "all" source selected in Package Manager Console and then try update-package command
image

All 4 comments

@digitalsigi I don't see LoggingService on nuget.org. Is that where you are expecting it to come from?

@digitalsigi Just to confirm, did you change the package manager source in the UI of Package Manager Console?
image

@digitalsigi Make sure you've "all" source selected in Package Manager Console and then try update-package command
image

Hi @all, thanks for careing....
@emgarten : True, because this package lifes in our private repo
@rrelyea and @jainaashish : Thanks, that did point me in the right direction, I selected "All" at the Package Manager GUI not at the console. Thanks to all!

Was this page helpful?
0 / 5 - 0 ratings