Hope everyone here are doing great! Here is a situation where I need to know if there is a way to configure TFS source control in such a way that whenever I do a checkin I want to do a "Get Latest and build the local solution" first before I could actually do a checkin... as this would gaurantee me that every time I do a check in that the build will succeed.
However I am not sure if there开发者_运维百科 is a way to automatically configure it in TFS?
Currently, I always do a "Get Latest" first, then I build the solution before I finally checkin the code provided the build succeeds.
Any suggestions or help will be deeply appreciated.
You will have to wait for TFS 2010 and it's "Gated Checkin" Feature.
More Info here, for example.
If you insist on doing this with TFS 2008 you could do it client side through a Visual Studio Add-In which either intercepts the checkin-command or offers a new "Safe Checkin" command, which then executes the get and build.
精彩评论