Nuget Restore via build server “unable to find version”

后端 未结 6 2140
执念已碎
执念已碎 2021-02-06 21:38

I have a VS solution and as part of a TeamCity Build, we restore packages from both a private NuGet feed (myget) and the public feed (nuget.org). Most packages restore fine, but

6条回答
  •  野性不改
    2021-02-06 22:04

    Using an old version of Visual Studio's Nuget

    • Visual Studio has C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\Nuget.exe. Jenkins was using that to nuget restore
    • Updated Nuget in program files,
      C:\Program Files (x86)\NuGet> ./nuget.exe update -self
      
    • Pointed Jenkins at that new Nuget path and

提交回复
热议问题