如何在LINQPad中将Visual Studio Team Services用作NuGet提要 [英] How to use Visual Studio Team Services as a NuGet feed in LINQPad

查看:107
本文介绍了如何在LINQPad中将Visual Studio Team Services用作NuGet提要的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用LINQPad 5和VSTS(Visual Studio团队服务) 我在VSTS中有一个NuGet提要(v3),我想在LINQPad中使用来自那里的包(私有)

I am using LINQPad 5 and VSTS (visual studio team services) I have a NuGet feed (v3) in VSTS and I would like to use packages from there(private) in LINQPad

我尝试使用VSTS中的个人访问令牌作为LINQPad中的NuGet密码 我尝试将nuget的VSTS凭据提供程序放在 AppData \ Local \ NuGet \ CredentialProviders
我尝试将nuget的VSTS凭据提供程序放在 AppData \ Local \ LINQPad \ NuGet \ CredentialProviders
我尝试使用VSTS用户名和密码作为nuget凭据

I have tried using the personal access token from VSTS as the NuGet password in LINQPad I have tried putting the VSTS credential provider for nuget in AppData\Local\NuGet\CredentialProviders
I have tried putting the VSTS credential provider for nuget in AppData\Local\LINQPad\NuGet\CredentialProviders
I have tried using my VSTS username and password as the nuget credentials

这是怎么做的? LINQPad中有错误吗?还不支持吗?

How is this done? Is there a bug in LINQPad? Is this not supported yet?

推荐答案

我们设法通过使用v2 nuget API使其工作:

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

/nuget/v2

代替:

/nuget/v3/index.json

只需将个人访问令牌放在LINQPad Package Sources对话框的密码文本框中.

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

这篇关于如何在LINQPad中将Visual Studio Team Services用作NuGet提要的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆