我正在尝试连接到我们的在线 TFS。这是我目前拥有的:
NetworkCredential cred = new NetworkCredential(textBox_Username.Text,
textBox_password.Password);
Uri TFSurl = new Uri("https://myCompany.visualstudio.com/DefaultCollection");
TfsConfigurationServer tfs = new TfsConfigurationServer(TFSurl, cred);
tfs.EnsureAuthenticated();
这让我:
TF30063:您无权访问https://actacom.visualstudio.com/DefaultCollection。
输入的凭据是正确的。