Often I have been in cases where we have tight deadlines to meet to write some code and utilizing TFS for check-ins, I see that many change-sets do not have comments for check-in. In a long run, this becomes a habit.
The most basic thing to do there is to set a policy in place, unless you put a check-in comment, you cannot provide a check-in.
Here is how you need to do it:
In Visual Studio (2012/2013).
· Open “Team Explorer”.
· Select your “Team Project”.
· Click “Settings”.
· Under the “Team Project” heading click “Source Control”.
· Select the “Check-in Policy” Tab.
· Click “Add…”
· Select “Changeset Comments Policy”.
In Visual Studio 2010, you will have to install the Team Foundation Power Toys on all client machines – those without it installed will not be able to check in code.
The end result is that now on all check-ins, if you do not provide the check-in comment:
Hope it helps!
[…] comments for check-in. In a long run, this becomes a habit. The most basic thing to do there is …read more Read Complete Post and Comments Tags: Microsoft Dynamics CRM […]