How to modify the default Check-in Action in TFS?

北慕城南 提交于 2019-11-29 09:50:18
Martin Woodward

Yup, the check-in action can only be associated to a state transition (i.e. Active to Resolved). In my blog post that Fredrick linked to (http://www.woodwardweb.com/vsts/top_tfs_tip_3_r.html) I talk about how to remove that. You'll need to customize the work item for everyone in your team project to make this happen. For help on that see

http://msdn.microsoft.com/en-us/library/ms243849(VS.80).aspx

Martin Woodward blogged about how to remove the "Resolve" action from the check-in dialog as a work-around for this:

http://www.woodwardweb.com/vsts/top_tfs_tip_3_r.html

Unlike previous versions, in VS2015 the registry key solution seems to work in the cases we need!

I just went to

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0\TeamFoundation\SourceControl\Behavior

and changed ResolveAsDefaultCheckinAction from True to False.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!