NuGet fails to find existing package

前端 未结 5 2035
情话喂你
情话喂你 2021-01-08 01:24

How it\'s possible that NuGet\'s Install-Package fails with Unable to find version \'x\' of package \'y\' when that exact version is released as Nu

5条回答
  •  天命终不由人
    2021-01-08 01:48

    I'm a latecomer to this thread... I'm in Visual Studio 2017 - 15.9.4

    I got this error today trying to pull from my private DevOps NuGet feed

    CONTEXT: the first time I called Install-Package everything worked, but, my NuGet was not assembled right, so, I re-published the NuGet pkg, and when I tried to update my project that was consuming the pkg, that's when I got the failure)

    Switching my Package Source to "all" alleviated the problem.

提交回复
热议问题