TfsTeamProjectCollection API

前端 未结 1 1474
猫巷女王i
猫巷女王i 2021-01-26 09:30

I\'m using the TFS API to connect to Team Foundation Server. In the Server URI , I\'m passing the hostname of the server. Me getting a Bad URI format error.

teamFoundati

1条回答
  •  不思量自难忘°
    2021-01-26 10:05

    I think you need the URL of the Team Project Collection, not just the server, probably:

    http://server:8080/tfs/collection
    

    There is an example of connecting on MSDN but it iterates through all the project collections on the TFS instance, but with that example code you could examine TfsTeamProjectCollection.Uri to confirm the correct URI to use.

    0 讨论(0)
提交回复
热议问题