jueves, 23 de febrero de 2012 16:38
I am writing new custom check-in policy for TFS 2010. I was able to deploy my checkin policy in couple of ways, but I just want deploy my policy on the server side.
Is anyone have any idea how can I deploy my check-in policy on the server? (strictly nothing to do from developers machine).
Alerady all our developers have power tools, I dont want ask them install even my check-in policies also....
I did lot research on this, but I couldn't get any good guidance on this, I really appreciate if anyone can give me detailed steps.
Thanks in advance...
Todas las respuestas
jueves, 23 de febrero de 2012 20:27
Sadly , Check-in policies are always evaluated on the client machine. So you need to deploy them on the client machine, there are some ways to ease problem, but they still need to be deployed on the client.
One other option is to develop a kind of checkIn policy by using the ISubscriber interface and deploy on on the server. By doing so you will not have it as a regular check-in policy that you can manage by team project, but it can prevent and realy stop unwanted checkins and does not need to be deployed on each client
viernes, 24 de febrero de 2012 8:29Moderador
Thanks for your post.
As Mattias said, the Check-in Policy works on the client. If we want the custom check-in policy available on each client, we need to register the custom check-in policy on each client. For how to create and register the custom check-in policy, please refer to:http://blogs.microsoft.co.il/blogs/shair/archive/2008/09/21/how-to-create-custom-check-in-policy.aspx. It’s an example for TFS 2008, but that’s similar to TFS 2010, change the Key path to HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\10.0\TeamFoundation\SourceControl\Checkin Policies.
nd we can use the TFS Power Toolsto populate the custom check-in policy to clients easily. For more information, install the TFS Power Tools 2011, then click Start>>All Programs>> Microsoft TFS 2010 Power Tools>>Help>>Team Members>>Working with Custom Components.
John Qiao [MSFT]
MSDN Community Support | Feedback to us
jueves, 01 de marzo de 2012 9:23For howto easy deployment to clients or creating a ISubscriber plugin ?
- Editado Mattias SköldMVP jueves, 01 de marzo de 2012 9:24
lunes, 27 de agosto de 2012 13:05
Actually, you can deploy check-in policies on the server side now!
Jason Camp, MCSE, MCSD, MCDBA, MCPD: Web, MCAD, MCSA, CISSP, SCSA
- Propuesto como respuesta Jason D. Camp lunes, 27 de agosto de 2012 13:05