tags:

views:

35

answers:

1

Is it possible when using TFS server to automatically have it ensure a specific header exists in the top of each specific file type? Example, each c++ file should have a specific copyright comment at the top. (I know this is not really a programming question per say, but I wasn't sure of a better place to look for a solution).

+2  A: 

I think its better to have the coder put the statement in the first time and not let the check in proceed until its done. You can use a checkin policy to do this.

See checkin polices and samples.

There are quite a few here

Preet Sangha