visual studio 2010 - TFS Check-In Enhancements -


i want write visual studio plugin extend functionality of check-in command. want happen when check in happens, should able call external program.

there few options trigger script or action when user checks in:

1. check-in policy

a checkin policy triggers in visual studio when checking in. code triggers simple c#, running application easy using process class.

these policies need deployed machines running visual studio. error message if policy not installed. can create msi or vsix deploy policies. or copy them right folders manually.

2. automated build

a ci build or gated build using tool team build or team city ideal run program or piece of code. happen right after (ci) or before (gated) final checkin, run on build server, not inside visual studio.

this can either msbuild task or team build activity.

3. visual studio extension

you can create custom visual studio extension , subscribe versioncontrolserver.beforecheckinpendingchange event. happens before checkin. can grab versioncontrolserver connected team project.


Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -