开发者

TFS Absolute beginner: TF249051: No URL can be found that corresponds to the following server

开发者 https://www.devze.com 2023-01-06 21:58 出处:网络
T开发者_JAVA技巧his is an absolute beginner question in TFS SDK: I am trying to connect to TFS server using the code

T开发者_JAVA技巧his is an absolute beginner question in TFS SDK:

I am trying to connect to TFS server using the code

TeamFoundationServer teamFoundationServer =
               TeamFoundationServerFactory.GetServer(X);

X is server name

I am getting an error like

TF249051: No URL can be found that corresponds to the following server name: X
Verify that the server name is correct. 

However I am able to connect to the TFS server from VS2010 using Team->Connect to TFserver menu option


The TeamFoundation Server Factory is deprecated. You should use TeamFoundationProjectCollection.

And, yes, under TFS 2010, you'll need the folder.

0

精彩评论

暂无评论...
验证码 换一张
取 消