Reputation: 45
I am a beginner to DevOps and I am working on building a windows desktop application using c# .Net which can edit the parameters of a TFS team build definition from a list of build definitions. The way I want the UI to be is
Select the team project ==> Select the build definition ==> select the parameters to edit.
I am stuck at the very first step as to how do I populate my dropdown commbo box with a list of the team projects in my collection.
Upvotes: 1
Views: 256
Reputation: 8343
Before writing your own tool, consider what is already available in the community. To manage a large set of builds Community TFS Build Manager is the best option.
Consider looking at their code in GitHub, if you really need to write your own.
Upvotes: 1
Reputation: 1124
You can use TeamProjectPicker class from TFS object model. Check this blog post for the details on how to use it.
Upvotes: 2