TFS Absolute beginner: TF249051: No URL can be found that corresponds to the following server
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.
精彩评论