11 August, 2010

TFS 2010: How to force comments when doing check-in?

For the life of me, I had really problems figuring out how to force comments from the developers when they do a checkin in TFS 2010. As I recall from TFS 2005, it was quite easy to setup, but that was not the case in TFS 2010!

Googling the matter also lead to a lot of desperate guys trying to solve the same problem. Well – finally I managed to locate the setting:

checkin0  checkin


How to do:
1) Find “Team Project Settings”
2) “Source Control…”
3) Enter Check-in Policy tab
4) Add…
5) Select “Changeset Comments Policy”
6) OK

You are done!

Technorati Tags: ,


Anonymous said...

Quick note, this is a Power Tools feature, and not a part of the default installation ;)

In case someone reads this and can't find the policy.

Claus Konrad said...

Thanks for sharing this!

Anonymous said...

Thanks for sharing! I was looking how to turn this on.

One thing to note is that you don't just have to have the TFS power tools installed to add this policy. All developers need the power tools too else VS 2010 will complain that it can't find the corrisponding policy DLL and they won't be able to check in anything (comments or not).

Anonymous said...

All users will be required to install power tools as the DLL will be required locally.

Kenneth Truyers said...

As I seem te recall in the previous versions of TFS this was indeed a standard option.

I also thought this was still in 2010, it's strikes me as very strange that they removed it.

However, do you really think that this is a necessary check-in policy?
I mean it's good to have the option, but I personally value unit tests much more than a random developer comment. I think if you force a developer to do this, usually they will quickly type something that doesn't completely relate to the change and might throw you off even further

Anonymous said...


I am also looking into this.
Is there any way to affect the check in policy on all client machines, if the policy applied on server.
Its not practical to install TFS power tools on all machines.

cYounes said...

Now we are done! Thanks a lot :)
Allowing developers doing a check-in without comment is just a big problem!

Theresa Bond said...

Weabersinc Incorporation is a growing digital house focused on the future of the web.
We are a fully integrated design and technology company that transforms ideas into future-proof digital experiences,
and help our clients reach the next step in their digital evolution.
Our energetic web developers are working hard to give the standard valued webapp.
Our special areas of expertise include Web development, Graphics Designing and Digital marketing.
Broadly, blogsite creation, news-site, restaurant/hotel/motel reservation, booking system and much more as development services.
On the other side we provide cover designing, logo, user interface (web and app) designing, Book designing, Photo Enhancement,
Product photo designing, 3D designing, animation, and trailer production.
If you have custom requirement we are ready to take that,,

skype: mahir8907
Email: info@weabersinc.com

Android said...

Here you Can Download Stock Note 4 Firmware Free With Full Speed

sm-n910f firmware

Break said...

I admit, I have not been on this web page in a long time... however it was another joy to see It is such an important topic and ignored by so many, even professionals. professionals. I thank you to help making people more aware of possible issues. https://www.set-up-company.com/company-incorporation/

Director said...

Great info! I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have. Company registration

Rohith Varma said...

great information keep up the good work Digital Marketing Training in Karimnagar

iPhone/XCode - not all cases are equal!

This bit me! Having made some changes to an iPhone application (Obj-C); everything worked fine in the simulator. But, when deploying the s...