简体   繁体   English

如何从命令行连接到托管的Team Foundation Service

[英]How to connect to hosted Team Foundation Service from command line

I have signed up on http://tfs.visualstudio.com/en-us/pricing/tfs-information , and it is working in Eclipse and VS but not working in the command line. 我已经在http://tfs.visualstudio.com/en-us/pricing/tfs-information上进行了注册 ,它可以在Eclipse和VS中使用,但不能在命令行中使用。

I am receiving an authenticating error I don't know the username; 我收到authenticating error我不知道用户名; I am trying email. 我正在尝试发送电子邮件。

How can I access Team Foundation Service from the command line? 如何从命令行访问Team Foundation Service?

Windows Command-Line Client Windows命令行客户端

From the command-line, you should be prompted with a pop up dialog prompting you to authenticate to Team Foundation Service with your Microsoft ID. 在命令行中,将出现一个弹出对话框,提示您使用Microsoft ID对Team Foundation Service进行身份验证。 You should not need to perform additional authentication. 您无需执行其他身份验证。

Cross-Platform Command-Line Client 跨平台命令行客户端

If you are not provided with an authentication dialog, then I suspect you downloaded and installed the Team Explorer Everywhere Command-Line Client when you downloaded the TFS plug-in for Eclipse. 如果没有为您提供身份验证对话框,那么我怀疑您在下载用于Eclipse的TFS插件时下载并安装了Team Explorer Everywhere命令行客户端。 This is the cross-platform command-line client for Team Foundation Server. 这是Team Foundation Server的跨平台命令行客户端。

The cross-platform command-line client will not raise UI at any point, including to prompt for authentication to the service. 跨平台命令行客户端在任何时候都不会引发UI,包括提示对服务进行身份验证。 Instead, you should set up alternate credentials for use with the TEE CLC. 相反,您应该设置备用凭证以与TEE CLC一起使用。

Note that the TEE CLC is not officially supported under Windows (we recommend using tf.exe that is bundled with Visual Studio Team Explorer.) The command-line client that is included with Visual Studio is more performant. 请注意,Windows上不正式支持TEE CLC(我们建议使用Visual Studio Team Explorer附带的tf.exe 。)Visual Studio附带的命令行客户端性能更高。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM