I'd like to provide a sort of UI on a commit operation in Visual Studio for my team. How would I go about that, would I create a Studio add-in or is there a TFS event that would help in this case?
Great question! Unfortunately there isn't an extensibility point on the client side (Visual Studio) to be able to intercept a check-in. However, there is a server-side extensiblity point (called an ISubscriber Decision Point) that you can intercept and allow/reject the check-in. Do you think that would be helpful for you?
That extensibility point is not really documented very well but we have some information in Chapter 25 of our new TFS 2010 book (Wrox Professional Team Foundation Server 2010) about how to create one of these.
Another option would be to create a custom check-in policy... That doesn't seem like the best way to solve the problem though and is riddled with its own issues.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With