How to use Visual Studio Team Services as a NuGet feed in LINQPad

≯℡__Kan透↙ 提交于 2019-12-03 15:23:01
Eric

We managed to get it to work by using the v2 nuget API:

/nuget/v2

instead of:

/nuget/v3/index.json

Just put the personal access token in the password text box on LINQPad Package Sources dialog box.

My current way of getting it to work is as follows:

  • use nuget v2 feed https://<instance>.pkgs.visualstudio.com/_packaging/<feed>/nuget/v2
  • put the personal access token in the password text box
    • make sure the access token is still valid...
  • restart linqpad when in doubt! It seems to cache some old credentials (e.g. expired PAT) sometimes
  • try disabling other feeds so you only have one feed enabled
  • this helps sometimes: under advanced, enable use legacy search engine (v2)
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!