1

TFS2010 でカスタム ポリシーを展開しようとしています。デプロイは 2 ステップで行う必要があるため、

1) レジストリ パス "HKEY_LOCAL_MACHINE/Software/Microsoft/VisualStudio/9.0/TeamFoundation/SourceControl/CheckinPolicies" を更新します。

2) カスタム ポリシー DLL を TFS サーバーのそれぞれのパスに貼り付けます。

展開とテストのために毎回 TFS マシンにログオンする代わりに、リモート マシンからこれを実現する方法はありますか?

4

1 に答える 1

1

This is totally possible, BUT you need the help of your TFS administrator once. He needs to activate the custom policy on your TFS project centrally, otherwise your check-in actions do not trigger the custom policy to be activated.

  1. Create you custom policy.
  2. Upload it to your projects version control tree according to: http://blogs.msdn.com/b/youhana/archive/2011/03/27/distributing-custom-check-in-policies-amp-wit-controls-using-team-members.aspx
  3. Distribute TFS Powertools in your team to distribute and sync your custom policies.
  4. Ask the TFS administrator to activate your custom policy.

Is this an acceptable scenario for your situation? You will never have to go to the TFS server to activate the custom policy anymore.

于 2011-09-13T20:49:39.103 に答える