Version Compatibility for Code Analysis Check-In Policies
If you must evaluate and author code analysis check-in policies using different versions of Team Explorer, you must know the differences in how Visual Studio Team System 2008 and Visual Studio 2005 Team System evaluate check-in policies.
Version Compatibility for Evaluating Check-In Policies
When code analysis check-in policies are evaluated in Visual Studio Team System 2008, any rules that existed in Visual Studio 2005 Team System but do not exist in Visual Studio Team System 2008 are ignored.
When code analysis check-in policies are evaluated in Visual Studio 2005 Team System, all new rules that are exclusive to Visual Studio Team System 2008 are ignored.
If the code analysis check-in policy specifies rules assemblies, Visual Studio Team System 2008 ignores all rules that are specified by assemblies that it does not recognize.
If the code analysis check-in policy specifies rules assemblies that Visual Studio 2005 Team System does not recognize, a message is displayed.
Version Compatibility for Authoring Check-In Policies
If you created a code analysis check-in policy by using the Visual Studio Team System 2008 version of Team Explorer, you cannot use the Visual Studio 2005 Team System version of Team Explorer to modify it. And also, Visual Studio 2005 Team System can not evaluate the policy.
If you created a code analysis check-in policy by using the Visual Studio 2005 Team System Team Explorer, you can use the Visual Studio Team System 2008 Team Explorer to modify it, and it can also be evaluated by Visual Studio Team System 2008. After you modify the policy by using the Visual Studio Team System 2008 Team Explorer, you can no longer edit it by using the Visual Studio 2005 Team System Team Explorer. Visual Studio 2005 Team System can evaluate the policies without problems with mismatched strong names.
To create a code analysis check-in policy with rule settings that apply for both Visual Studio 2005 Team System and Visual Studio Team System 2008, you must create the policy in Visual Studio 2005 Team System, make all the changes needed and save the policy. If the changes to rules exist only in Visual Studio Team System 2008, modify and save the policy in Visual Studio Team System 2008.
Once you have saved the policy in Visual Studio Team System 2008, you can no longer change settings for rules that exist in Visual Studio 2005 Team System only.