TFSがあります。まもなく TFS に移行しますが、TFS に関連付けられていないポリシーに対してコードをチェックできるかどうかを知りたいです。特に、VSにTFSサーバーをまったく接続せずにそうできる場合。ポリシーを既に TFS 対応にするか、非常に簡単に移行できるようにしたいと考えています。
私たちは皆、VS2010 Ultimate を使用しています。
TFSがあります。まもなく TFS に移行しますが、TFS に関連付けられていないポリシーに対してコードをチェックできるかどうかを知りたいです。特に、VSにTFSサーバーをまったく接続せずにそうできる場合。ポリシーを既に TFS 対応にするか、非常に簡単に移行できるようにしたいと考えています。
私たちは皆、VS2010 Ultimate を使用しています。
Custom code analysis rules fit the bill here very well.
How to write custom static code analysis rules and integrate them into Visual Studio 2010 - 2010.03.26
Custom Code Analysis Rules in VS2010 (and how to make them run in FxCop ... -2010.01.06
Writing custom rules for TFS 2008 Code Analysis check-in policy -2009.03.17
So code analysis/fxcop rules are now integrated into vs2010 instead of having to run a separate application, there is a build server capable command line to dump xml results for your build process/server, and the rules are easily migrated/imported to the TFS check-in policies.
How to: Synchronize Code Project Rule Sets with Team Project Check-in Policy
チェックイン ポリシーは、TFS サーバーが実行するものです。それを行う他の方法はありません。
しかし、とにかく「 TFS対応」とはどういう意味ですか? 「チェックイン コメントが必要」または「関連付けられたワーク アイテムが必要」という種類の「唯一の」チェックイン ポリシーがあるため、それに関して準備できるものは何もありません...
トーマス