Nuget Restore via build server “unable to find version”

后端 未结 6 2227
执念已碎
执念已碎 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:09

    Try using https://www.nuget.org/api/v2instead of https://api.nuget.org/v3/index.json per the nuget docs: https://docs.nuget.org/consume/Command-Line-Reference.

提交回复
热议问题