We develop some product using an internal design tool that stores information in XML files. To provide proper integration with TFS we’ve also coded a provider that tracks, in TFS, checkin and checkout operation from users while they’re using the designer, without any need to interact with Team Explorer.
Now the requirement is to add also the related workitem when checking in files, I’ve googled around and browsed some SDK samples but I was not able to understand if there is a way to show the same windows form that allow user to associate code to workitem from code or do we have to implement the full windows form from code (retrieve and search workitems, associate them, perform the checkin and so on). Any info would be appreciated because between the two solution there is a lot of difference in term of how much code we need to write.
I’ve checked with MS consultancy and there is no way to show the checkin window used by TFS or the shell extension without resorting to low level code that is not really safe.
So only possible solution is to use the TFS Api to create a new C# control/project to mimic the TFS checkin window.
Regards
Massimo