NuGet Package Manager Console Command Fails But Search -> Install Works -


i installing new package thats not in local cache. took command directly nuget site.

executing command in pmc failed following error:

the source @ [(aggregate source)] unreachable. falling nuget local cache @ c:\users\jammer\appdata\local\nuget\cache install-package : unable find package 'xam.plugins.settings'. @ line:1 char:16 + install-package <<<<  xam.plugins.settings     + categoryinfo          : notspecified: (:) [install-package], invalidoperationexception     + fullyqualifiederrorid : nugetcmdletunhandledexception,nuget.powershell.commands.installpackagecommand 

i've confirmed settings correct, usual nuget source urls present , correct expected. have nuget 2.8.5 installed.

when searched using "manage packages solution" option within visual studio found package after , installed expected.

has seen , have idea going on here?

ahhh, ok> solved immediately.

  • i uninstalled package within solution
  • removed package nuget local cache
  • then on command line did this
  • cd c:\users\username\appdata\local\nuget
  • nuget.exe update -self

turns out version of nuget required package stated 2.8.1, version in cache 2.8.3 should have been fine update 2.8.5 fixed issue having package manager console.


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -