i have been asked create second custom checkin policy second project on our tfs server. both projects reside on same tfs server in same collection different projects under collection. created second check-in policy first. when run vsix installer new 1 installs. once run vs 2015 can see both custom check-in policies under toos/extensions , updates. when go team/team project settings/source control/check-in policy new 1 not show when click "add". existing 1 there not new one.
is there issue having 2 custom check-in policies?
first please make sure have selected right team project. since check-in policy based on team project- level.
also remember registering custom policy:
you need add entry windows registry policy appears in add check-in policy dialog box.
here example of .reg file registers policy.
windows registry editor version 5.00 [hkey_local_machine\software\microsoft\visualstudio\11.0\teamfoundation\sourcecontrol\checkin policies] "devart.reviewassistant.teamfoundation"="c:\\program files\\devart\\reviewassistant\\devart.reviewassistant.teamfoundation.dll"
note: must install policy assembly on every computer needs have reference assembly.
make sure provide valid installation instructions policy fellow developers install it. more detailed info please refer blog: creating tfs custom check-in policy